html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Mandatory fix for external Chat/Support Widgets - Ensuring they stay on top of all plugin layers */
.lc_text-widget,
#chat-widget-container,
#hubspot-messages-iframe-container,
.fb_dialog,
.fb-customerchat,
[id^="chat-widget"],
.intercom-app,
#intercom-container {
    z-index: 2147483647 !important;
    position: fixed !important;
}

:root {
    --blue: #0EA5E9;
    --blue-dark: #0284C7;
    --blue-glow: rgba(14, 165, 233, 0.15);
    --cyan: #22D3EE;
    --dark: #080C14;
    --dark2: #0D1424;
    --dark3: #111827;
    --border: rgba(14, 165, 233, 0.15);
    --text: #E2E8F0;
    --muted: #64748B;
    --font-head: "Plus Jakarta Sans", sans-serif;
    --font-body: "Outfit", sans-serif;
}

.gd-tgp-wrap {
    position: relative;
    /* Removed z-index to avoid creating a competing stacking context with external fixed items */
    width: 100%;
    background: var(--dark);
    color: var(--text);
    font-family: var(--font-body);
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
}

/* BG Effects */
.gd-tgp-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.gd-tgp-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gd-tgp-glow-left {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.gd-tgp-glow-right {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
}

.gd-tgp-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tgp-section {
    padding: 0px 0;
    position: relative;
}

.tgp-sec-head {
    margin-bottom: 60px;
}

.tgp-sec-num {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

/* Typography & Global Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    color: var(--text);
    margin-top: 0;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cyan);
}

.tgp-gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Buttons */
.tgp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.tgp-btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
}

.tgp-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
    color: #fff;
}

.tgp-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.tgp-btn-outline:hover {
    border-color: var(--blue);
    background: rgba(14, 165, 233, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tgp-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tgp-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Nav Active */
@media (max-width: 992px) {
    .tgp-nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark2);
        padding: 40px;
        border-bottom: 1px solid var(--border);
        gap: 24px;
        animation: slideDown 0.4s ease forwards;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility for animation delays */
.d-100 {
    animation-delay: 0.1s;
}

.d-200 {
    animation-delay: 0.2s;
}

.d-300 {
    animation-delay: 0.3s;
}

.d-400 {
    animation-delay: 0.4s;
}

.d-500 {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gd-tgp-container {
        padding: 0 20px;
    }
}