/* TruthLayer® Ultra-Premium Dark Theme - Enhanced for CheckTransfer Visuals */
:root {
    --tl-bg-dark: #051329;
    --tl-bg-card: rgba(10, 26, 50, 0.88);
    --tl-bg-card-hover: rgba(14, 35, 66, 0.94);
    --tl-border-glow: rgba(56, 189, 248, 0.35);
    --tl-primary: #1da1f2;
    --tl-primary-glow: #0ea5e9;
    --tl-cyan: #38bdf8;
    --tl-green: #34d399;
    --tl-text-bright: #ffffff;
    --tl-text-muted: rgba(255, 255, 255, 0.88);
    --tl-text-dim: rgba(255, 255, 255, 0.6);
}

body.tl-web-body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--tl-bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(29, 161, 242, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 90% 75%, rgba(14, 165, 233, 0.16) 0%, transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(5, 19, 41, 0.8) 0%, transparent 100%);
    background-attachment: fixed;
    color: var(--tl-text-bright);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Navbar */
.tl-web-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 19, 41, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    transition: all 0.3s ease;
}
.tl-nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tl-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.tl-brand-logo img {
    height: 44px;
    width: auto;
    display: block;
}
.tl-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tl-nav-link {
    color: var(--tl-text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease;
}
.tl-nav-link:hover, .tl-nav-link.active {
    color: var(--tl-cyan);
}
.tl-btn-signin {
    background: linear-gradient(90deg, var(--tl-primary), var(--tl-primary-glow));
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(29, 161, 242, 0.4);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tl-btn-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(29, 161, 242, 0.6);
    filter: brightness(1.12);
}

/* Hero Banner */
.tl-hero-section {
    padding: 50px 24px 32px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.tl-hero-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.tl-hero-title iconify-icon {
    color: var(--tl-cyan);
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}
.tl-hero-subtitle {
    font-size: 16.5px;
    color: var(--tl-text-muted);
    margin: 0 auto 20px;
    max-width: 720px;
    line-height: 1.55;
}
.tl-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--tl-text-dim);
}
.tl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Main Layout Container */
.tl-page-container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 90px;
}
.tl-single-column {
    max-width: 1180px !important;
}

/* Content, Contact Info & Contact Form Glass Cards */
.tl-content-card, .tl-contact-info-card, .tl-contact-form-card {
    background: var(--tl-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--tl-border-glow);
    border-radius: 24px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-content-card {
    padding: 48px 56px;
}

/* Contact Us Grid & Height Equalizer */
.tl-contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: stretch;
}
.tl-contact-info-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.tl-contact-form-card {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Info Item Icon Box (check-transfer style glow) */
.tl-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 14px;
}
.tl-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: all 0.25s ease;
}
.tl-info-item:hover {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateX(4px);
}
.tl-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.25), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: var(--tl-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.25);
}
.tl-info-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tl-cyan);
    margin-bottom: 3px;
}
.tl-info-value {
    font-size: 14.5px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}
.tl-info-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tl-info-value a:hover {
    color: var(--tl-cyan);
}

/* Premium Form Group & Icon Inputs */
.tl-form-group {
    margin-bottom: 18px;
}
.tl-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}
.tl-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.tl-input-icon-wrap iconify-icon {
    position: absolute;
    left: 16px;
    color: var(--tl-cyan);
    font-size: 20px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.25s ease, filter 0.25s ease;
}
.tl-input-icon-wrap textarea~iconify-icon {
    top: 16px;
}
.tl-input-icon-wrap .tl-form-input {
    padding-left: 48px !important;
}
.tl-form-input {
    width: 100%;
    background: rgba(14, 36, 68, 0.75) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
    border-radius: 14px !important;
    padding: 13px 18px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tl-form-input:focus {
    border-color: var(--tl-cyan) !important;
    background: rgba(18, 48, 88, 0.95) !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
.tl-input-icon-wrap:focus-within iconify-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}
.tl-form-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}
textarea.tl-form-input {
    resize: vertical;
    min-height: 105px !important;
    height: 110px !important;
}

/* Floating Top-Right Toast Notification (Fixed to Page Viewport) */
.tl-toast-popup {
    position: fixed !important;
    top: 28px !important;
    right: 28px !important;
    z-index: 99999999 !important;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(6, 38, 26, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #34d399 !important;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(52, 211, 153, 0.3);
    color: #ffffff;
    max-width: 440px;
    width: calc(100% - 56px);
    animation: tlToastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.tl-toast-popup.tl-toast-error {
    background: rgba(48, 10, 18, 0.96) !important;
    border-color: #f87171 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(248, 113, 113, 0.3) !important;
}
@keyframes tlToastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.tl-toast-icon {
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.tl-toast-error .tl-toast-icon {
    color: #f87171 !important;
}
.tl-toast-content {
    flex: 1;
}
.tl-toast-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 2px;
}
.tl-toast-error .tl-toast-title {
    color: #f87171 !important;
}
.tl-toast-message {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}
.tl-toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.tl-toast-close:hover {
    color: #ffffff;
}

/* Quill & Dynamic HTML Content Formatting */
.tl-content-body {
    color: var(--tl-text-muted);
    font-size: 16px;
    line-height: 1.85;
}
.tl-content-body h1,
.tl-content-body h2,
.tl-content-body h3,
.tl-content-body h4 {
    color: var(--tl-text-bright);
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.tl-content-body h1 {
    font-size: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
}
.tl-content-body h2 {
    font-size: 22px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tl-content-body h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--tl-primary);
    border-radius: 4px;
}
.tl-content-body h3 {
    font-size: 19px;
    color: var(--tl-cyan);
}
.tl-content-body h4 {
    font-size: 16.5px;
}
.tl-content-body p {
    margin-bottom: 22px;
}
.tl-content-body a {
    color: var(--tl-cyan);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.tl-content-body a:hover {
    color: #7dd3fc;
}
.tl-content-body ul,
.tl-content-body ol {
    margin-bottom: 24px;
    padding-left: 26px;
}
.tl-content-body li {
    margin-bottom: 10px;
}
.tl-content-body blockquote {
    background: rgba(29, 161, 242, 0.08);
    border-left: 4px solid var(--tl-primary);
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
}

/* Empty State Card */
.tl-empty-card {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}
.tl-empty-icon {
    font-size: 48px;
    color: var(--tl-cyan);
    margin-bottom: 16px;
}
.tl-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}
.tl-empty-desc {
    color: var(--tl-text-muted);
    font-size: 14px;
    max-width: 440px;
    margin: 0 auto;
}

/* Web Footer */
.tl-web-footer {
    background: #030d1d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 24px 28px;
    margin-top: 60px;
}
.tl-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.tl-footer-brand {
    font-size: 13.5px;
    color: var(--tl-text-dim);
}
.tl-footer-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.tl-footer-nav a {
    color: var(--tl-text-muted);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tl-footer-nav a:hover {
    color: var(--tl-cyan);
}

/* Modal Fix */
#gdprPreferencesModal.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 11, 23, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#gdprPreferencesModal.show,
#gdprPreferencesModal.modal.show {
    display: flex !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .tl-page-container {
        padding-bottom: 50px;
    }
    .tl-content-card {
        padding: 34px 28px;
        border-radius: 18px;
    }
    .tl-contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .tl-hero-title {
        font-size: 34px;
    }
}
@media (max-width: 576px) {
    .tl-nav-links {
        display: none;
    }
    .tl-hero-section {
        padding: 36px 16px 24px;
    }
    .tl-hero-title {
        font-size: 26px;
    }
    .tl-content-card,
    .tl-contact-info-card,
    .tl-contact-form-card {
        padding: 24px 18px;
    }
    .tl-footer-container {
        flex-direction: column;
        text-align: center;
    }
    .tl-toast-popup {
        top: 16px !important;
        right: 16px !important;
        left: 16px !important;
        max-width: none !important;
    }
}
