:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --accent-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --accent-orange: #f97316;
    --accent-emerald: #10b981;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-page: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.5);
    --border-focus: #818cf8;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.2);
    --shadow-3d: 0 20px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(79, 70, 229, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(at 10% 20%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 85%, rgba(6, 182, 212, 0.16) 0px, transparent 55%),
        radial-gradient(at 80% 80%, rgba(139, 92, 246, 0.18) 0px, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}

a {
    color: #818cf8;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #a5b4fc;
    text-shadow: 0 0 8px rgba(165, 180, 252, 0.5);
}

/* Header & Navigation (Vibrant Glassmorphism) */
.header-nav {
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    perspective: 800px;
}

.brand-logo svg {
    filter: drop-shadow(0 0 10px #4f46e5);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(4deg); }
}

.brand-badge {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
    animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 12px rgba(6, 182, 212, 0.4); }
    50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.8); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 600;
    color: #cbd5e1;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.btn-nav-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
}

.btn-nav-primary:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6) !important;
    transform: translateY(-2px) scale(1.03);
}

/* Disclaimer Bar */
.disclaimer-bar {
    background: rgba(30, 27, 75, 0.7);
    border-bottom: 1px solid rgba(129, 140, 248, 0.2);
    color: #c7d2fe;
    font-size: 12.5px;
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 3D Hero Section */
.hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.85) 50%, rgba(15, 23, 42, 0.9) 100%);
    color: #ffffff;
    padding: 60px 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3d);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-card:hover {
    transform: translateY(-4px) rotateX(1.5deg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.35);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.4);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 17px;
    color: #94a3b8;
    max-width: 820px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* 3D Glassmorphism Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 32px;
    margin-bottom: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.25);
    border-color: rgba(129, 140, 248, 0.4);
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-subtitle {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
}

.form-label .required {
    color: #f43f5e;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-family: inherit;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    color: #ffffff;
    cursor: pointer;
}

.form-select option {
    background-color: #0f172a !important;
    color: #ffffff !important;
    padding: 10px 14px;
    font-size: 14.5px;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:checked {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

.form-select optgroup {
    background-color: #1e293b;
    color: #94a3b8;
    font-weight: 700;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #818cf8;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 0 20px rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
}

.form-help {
    font-size: 12.5px;
    color: #94a3b8;
}

.phone-group {
    display: grid;
    grid-template-columns: 120px 1fr 90px;
    gap: 10px;
}

/* 3D Animated Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    background-size: 200% 200%;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.7), 0 0 25px rgba(6, 182, 212, 0.5);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
    background: linear-gradient(135deg, #1ebd5a, #0b695e);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5);
}

.btn-block {
    width: 100%;
}

/* Notice Banners */
.notice-box {
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    backdrop-filter: blur(12px);
    border: 1px solid transparent;
}

.notice-warning {
    background: rgba(120, 53, 15, 0.25);
    border-color: rgba(245, 158, 11, 0.4);
    border-left: 5px solid #f59e0b;
    color: #fde68a;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.notice-info {
    background: rgba(30, 58, 138, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
    border-left: 5px solid #3b82f6;
    color: #bfdbfe;
}

.notice-success {
    background: rgba(6, 78, 59, 0.25);
    border-color: rgba(16, 185, 129, 0.4);
    border-left: 5px solid #10b981;
    color: #a7f3d0;
}

/* Captcha Component */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.captcha-img {
    height: 44px;
    border-radius: 6px;
    display: block;
    background: #ffffff;
}

.btn-icon {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: rgba(51, 65, 85, 0.9);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 3D Directory Result Card */
.result-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 20px;
    background: rgba(17, 24, 39, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.result-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.3);
    transform: translateY(-4px) scale(1.01);
}

.duns-masked-badge {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #38bdf8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 22px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 8px;
    letter-spacing: 2px;
    display: inline-block;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Modal with 3D Slide */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 100%;
    padding: 36px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.3);
    position: relative;
    animation: modalSlide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: #ffffff;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ffffff;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(99, 102, 241, 0.4);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0f172a;
    border: 3px solid #6366f1;
    box-shadow: 0 0 10px #6366f1;
}

.timeline-date {
    font-size: 12.5px;
    color: #94a3b8;
}

.timeline-status {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

/* Accordion FAQ (Glowing Dark) */
details.faq-item {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

details.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

details.faq-item summary {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    color: #ffffff;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: #818cf8;
    font-weight: bold;
    transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

details.faq-item p {
    margin-top: 16px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* Footer (Deep Cyber Slate) */
.site-footer {
    background: #080c14;
    color: #94a3b8;
    padding: 60px 20px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #818cf8;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 28px;
    }
    .phone-group {
        grid-template-columns: 1fr;
    }
}

/* Floating 3D WhatsApp Button & Interactive Chat Popup */
.wa-floating-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    font-family: inherit;
}

.wa-float-btn {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), 0 0 30px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.wa-float-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 16px 32px -4px rgba(37, 211, 102, 0.65), 0 0 45px rgba(37, 211, 102, 0.5);
}

.wa-pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: waPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-btn-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* WhatsApp Chat Popup Box */
.wa-chat-popup {
    position: absolute;
    bottom: 78px;
    right: 0;
    width: 340px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 211, 102, 0.2);
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: bottom right;
}

.wa-chat-popup.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-popup-header {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    position: relative;
}

.wa-header-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.wa-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #075e54;
    border-radius: 50%;
}

.wa-header-info {
    flex: 1;
}

.wa-header-info h4 {
    font-size: 14.5px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

.wa-header-info p {
    font-size: 11.5px;
    color: #e2e8f0;
    margin: 3px 0 0;
}

.wa-status-text {
    color: #4ade80;
    font-weight: 700;
}

.wa-popup-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.wa-popup-close:hover {
    color: #ffffff;
}

.wa-popup-body {
    padding: 20px 18px;
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.wa-chat-bubble {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px 14px 14px 4px;
    padding: 12px 14px;
    color: #f1f5f9;
}

.wa-bubble-sender {
    font-size: 11.5px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 4px;
}

.wa-bubble-message {
    font-size: 13.5px;
    line-height: 1.5;
    color: #e2e8f0;
}

.wa-bubble-time {
    font-size: 10.5px;
    color: #94a3b8;
    text-align: right;
    margin-top: 6px;
}

.wa-popup-footer {
    padding: 14px 18px 18px;
    background: rgba(15, 23, 42, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-popup-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
}

.wa-popup-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .wa-chat-popup {
        width: calc(100vw - 40px);
        right: -8px;
    }
}
