/* Main CSS for tvheld.com - Cleaned from Webflow */

:root {
    --black: #021b29;
    --white: #ffffff;
    --black-2: #01141f;
    --orange: #f2a70c;
    --green: #5fad41;
    --font-inter: 'Inter', sans-serif;
    --gradient-orange: radial-gradient(circle at 0% 0%, #f9ec31, #f9a939);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Premium Page Transitions (Sleek & Fast) */
.page-wrapper {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
    will-change: transform, opacity;
}

.page-wrapper.page-exit {
    transform: scale(0.96) translateX(-30px);
    opacity: 0;
    filter: blur(4px);
}

.page-wrapper.page-enter {
    transform: scale(1.04) translateX(30px);
    opacity: 0;
    filter: blur(4px);
}

.navigation {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s ease, border 0.4s ease;
    z-index: 10000 !important;
    position: fixed !important;
    width: 100%;
    top: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-hidden {
    transform: translateY(-110%);
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
}

.page-transition.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--orange) 30%,
            #ffffff 50%,
            var(--orange) 70%,
            transparent 100%);
    animation: loading 0.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    box-shadow: 0 0 20px var(--orange);
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(48px, 8vw, 84px);
    letter-spacing: -1.5px;
    line-height: 1.1;
    font-weight: 900 !important;
}

h2 {
    font-size: clamp(32px, 6vw, 56px);
    letter-spacing: -0.5px;
    line-height: 1.15;
    font-weight: 800 !important;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 0;
    line-height: 1.7;
}

.opacity-75 {
    opacity: 0.75;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.ls-1 {
    letter-spacing: 1px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hover-orange:hover {
    color: var(--orange) !important;
}

img {
    max-width: 100%;
    display: inline-block;
}

.grayscale-logo img {
    filter: grayscale(1) opacity(0.5);
    transition: all 0.4s ease;
}

.grayscale-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

.transform-15 {
    transform: rotate(5deg);
}

.transform--15 {
    transform: rotate(-5deg);
}

.cursor-pointer {
    cursor: pointer;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

.section.dark-bg {
    background-color: var(--black);
}

/* Navigation */
.navigation {
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: transparent;
    z-index: 1050;
}

.navigation.scrolled {
    padding: 5px 0;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
}

.logo-wrapper {
    padding: 8px 15px;
    background: var(--gradient-orange);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(242, 167, 12, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.02);
}

.text-logo {
    height: 35px;
}

.nav-phone-btn {
    background: var(--gradient-orange) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--black-2) !important;
    font-weight: 800 !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(242, 167, 12, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    overflow: hidden;
}

.nav-phone-btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(242, 167, 12, 0.5) !important;
}

@keyframes breathing-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(242, 167, 12, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(242, 167, 12, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(242, 167, 12, 0.3);
    }
}

.nav-phone-btn:hover {
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 12px 30px rgba(242, 167, 12, 0.6) !important;
    animation-play-state: paused;
}

.nav-phone-btn .icon-nav-extra {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 100px;
}

.hero-section h1 {
    font-size: clamp(40px, 7vw, 76px);
    letter-spacing: -1.2px;
    line-height: 1.05;
    margin-bottom: 25px !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    margin-bottom: 30px;
}

.nav-center-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(242, 167, 12, 0.1);
    border-radius: 50px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .nav-center-wrapper {
        display: none;
    }
}

.nav-dot {
    width: 8px;
    height: 8px;
    background-color: var(--orange);
    border-radius: 50%;
    position: relative;
}

.nav-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.nav-center-text {
    color: var(--orange);
    font-size: 14px;
    font-weight: 500;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 110%;
    margin-right: -10%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

/* Premium Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #f9ec31 0%, #f9a939 100%);
    color: var(--black-2);
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(242, 167, 12, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    cursor: pointer;
}

.button::after,
.nav-phone-btn::after,
.submit-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    filter: blur(5px);
}

.button:hover::after,
.nav-phone-btn:hover::after,
.submit-button:hover::after {
    left: 140%;
}

.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(242, 167, 12, 0.4);
    background: linear-gradient(135deg, #fbdc31 0%, #f9c039 100%);
}

.button-icon {
    font-size: 1.1em;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.button:hover .button-icon {
    transform: translateX(5px);
}

.eyebrow-text {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Specific mobile adjustment for the button */
@media (max-width: 767px) {
    .button {
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }

    .hero-content {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Pricing Grid */
.pricing-tabs {
    margin-top: 60px;
}

.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Tabs Redesign */
.tabs-menu {
    gap: 15px !important;
}

.tab-link {
    padding: 14px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.tab-link.active {
    background: linear-gradient(135deg, #f9ec31 0%, #f9a939 100%);
    color: var(--black-2);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(242, 167, 12, 0.3);
}

.tab-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--gradient-orange);
    color: var(--black-2);
    border-radius: 20px !important;
    padding: 60px 40px !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card * {
    color: var(--black-2) !important;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Business/B2B Cards */
.business-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.business-card .h3 {
    color: var(--orange) !important;
    font-weight: 800;
    margin-bottom: 20px;
}

.business-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
}

.business-card-features {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.business-card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px;
    font-weight: 500;
}

.business-card-features li::before {
    content: '✔';
    color: var(--orange);
    font-weight: bold;
}

.business-card.highlight {
    border-color: rgba(242, 167, 12, 0.3);
    background: rgba(242, 167, 12, 0.05);
}

.service__price {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 0px;
    line-height: 1;
    letter-spacing: -2px;
}

.price-type {
    margin-bottom: 20px;
}

.pricing-features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tag-label {
    background: linear-gradient(135deg, #5fad41 0%, #4a9c32 100%) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(95, 173, 65, 0.4) !important;
    z-index: 10;
    white-space: nowrap;
}



.pricing-features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fad41' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    flex: none;
}

.check.red {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d4d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.button-3 {
    margin-top: auto;
    padding: 16px;
    text-align: center;
    background: var(--black-2) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 700;
    border: none !important;
    transition: all 0.3s ease;
}

.button-3:hover {
    transform: scale(1.02);
    filter: brightness(1.2);
}

/* Client Logos */
.logo-showcase-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.client-logo-block {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    padding: 20px;
}

.client-logo {
    max-height: 40px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.client-logo-block:hover .client-logo {
    opacity: 1;
    filter: grayscale(0);
}

/* Testimonials */
.testimonial-wrapper {
    position: relative;
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slider-container {
    padding-bottom: 60px !important;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: var(--orange) !important;
    transform: scale(1.2);
}

.testimonial-wrapper p {
    font-size: clamp(20px, 4vw, 32px) !important;
    line-height: 1.5 !important;
    margin-bottom: 40px !important;
    opacity: 0.9;
}

.testimonial-wrapper .h5 {
    margin-bottom: 10px !important;
}

.testimonial-wrapper .small {
    letter-spacing: 2px !important;
}

.testimonial-wrapper .h5 {
    margin-bottom: 10px !important;
}

.testimonial-wrapper .small {
    letter-spacing: 2px !important;
}

.quote-icon {
    width: 120px !important;
    opacity: 0.05 !important;
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-left-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.transform-5 {
    transform: rotate(5deg);
}

.transform--5 {
    transform: rotate(-5deg);
}

.about-image {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.orange-span {
    color: var(--orange);
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.form-wrapper {
    background: rgba(242, 167, 12, 0.05);
    border: 1px solid rgba(242, 167, 12, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
}

.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 0.25rem rgba(242, 167, 12, 0.25) !important;
}

.submit-button {
    background: var(--gradient-orange);
    color: var(--black-2);
    border: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(242, 167, 12, 0.2);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(242, 167, 12, 0.4);
    filter: brightness(1.1);
}

/* Footer */
.section-footer {
    padding: 80px 0 40px;
    background: var(--black-2);
}

.block-footer {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    gap: 40px;
}

.footer-down {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-circle-wrapper {
    display: flex;
    gap: 15px;
}

.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-circle:hover {
    background: var(--orange);
}

.social-icon {
    width: 20px;
}

/* Tabs Hide/Show */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-container,
    .about-wrapper,
    .contact-wrapper {
        text-align: center;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .block-footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

@media (max-width: 479px) {
    .section {
        padding: 60px 0;
    }
}

/* SEO Section Styling - Deep Midnight Theme */
.seo-rich-section {
    background-color: #01141f !important;
    /* Rich Midnight Blue */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.seo-rich-section p {
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-bottom: 24px !important;
}

.seo-rich-section h2 {
    color: var(--white) !important;
    letter-spacing: -0.5px;
}

.seo-rich-section .text-white {
    color: var(--orange) !important;
    font-weight: 600;
}

/* Modern Intent Chips */
.intent-chip {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.intent-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-check:checked+.intent-chip {
    background: var(--gradient-orange);
    color: var(--black-2);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(242, 167, 12, 0.4);
    transform: translateY(-2px) scale(1.03);
}

/* Premium Form Inputs */
.form-control {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 4px rgba(242, 167, 12, 0.1) !important;
    outline: none !important;
}

.form-wrapper label {
    margin-bottom: 8px !important;
    letter-spacing: 1px;
    opacity: 0.8;
}

.submit-button {
    background: var(--gradient-orange) !important;
    color: var(--black-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 14px 32px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 0 10px 20px rgba(242, 167, 12, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(242, 167, 12, 0.4) !important;
}

.small-lh-text {
    letter-spacing: 0.1px;
}

/* ===== Form Success Animation ===== */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 27, 41, 0.98);
    backdrop-filter: blur(10px);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
}

.form-success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.form-success-overlay.show .success-content {
    transform: scale(1);
    opacity: 1;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.checkmark {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--orange);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--orange);
    stroke-width: 4;
    stroke-linecap: round;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-title {
    color: var(--orange);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.success-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Confetti */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
}

.confetti.active {
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }

    100% {
        opacity: 0;
        top: 100%;
        transform: translateX(var(--drift)) rotate(720deg);
    }
}

/* Form Error Message */
.form-error-message {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    margin-bottom: 20px;
    animation: shake 0.5s ease-in-out;
}

.form-error-message.show {
    display: flex;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.error-icon {
    font-size: 24px;
}

.error-text {
    color: #ff6b6b;
    font-weight: 500;
}

/* Button Loading State */
.submit-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none !important;
}

/* Turnstile Widget Styling */
.cf-turnstile {
    display: flex;
    justify-content: center;
}

.cf-turnstile iframe {
    border-radius: 8px;
}

/* ===== Accessibility & Touch Target Improvements ===== */

/* Better touch targets for footer links */
footer a.text-white-50 {
    display: inline-block;
    padding: 8px 0;
    min-height: 44px;
    line-height: 28px;
}

/* Better touch targets for footer nav links */
footer .d-flex.gap-3 a {
    padding: 8px 12px;
    margin: -8px -12px;
}

/* Improved focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: var(--orange);
    color: var(--black);
    font-weight: 700;
    z-index: 100000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .page-transition {
        display: none !important;
    }
}

/* Content-visibility for better rendering performance */
.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Prevent layout shift from images */
img {
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}

/* Logo aspect ratios to prevent CLS */
.client-logo-block img {
    object-fit: contain;
    max-height: 40px;
}

/* Social icons minimum touch target */
.social-circle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}