/* =========================================
   1. CORE VARIABLES (Brand Identity)
   ========================================= */
:root {
    /* 기존 Blue & Mint 컬러 유지 */
    --primary: #0047AB;
    /* Main Blue */
    --primary-dark: #002E7A;
    /* Deep Navy */
    --accent: #2563EB;
    /* Vibrant deep blue */
    --accent-hover: #1D4ED8;
    --brand: var(--primary);

    /* Backgrounds */
    --bg-hero: #0047AB;
    /* e²¤i¹?e§?i?¹???¸e???e°°e²½??e¸?e￡¨e¡??�i²?*/
    --bg-light: #f8fafc;
    --white: #FFFFFF;

    /* Text */
    --text-main: #111827;
    --text-sub: #6B7280;
    --text-light: #9CA3AF;

    /* UI Effects */
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px -1px rgba(0, 0, 0, 0.08);
    --radius-md: 12px;
    --radius-lg: 20px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
}

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

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    /* Force light mode appearance regardless of OS setting */
    color-scheme: light;
    /* Prevent accidental pull-to-refresh on mobile if needed, 
       but primarily ensure smooth scrolling */
    -webkit-overflow-scrolling: touch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

button,
input,
select {
    font-family: inherit;
    outline: none;
    border: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* =========================================
   2. HEADER (Clean Enterprise Style)
   ========================================= */
header {
    height: 80px;
    background: var(--white);
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gnb {
    display: flex;
    gap: 40px;
}

.gnb a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
    position: relative;
}

.gnb a:hover {
    color: var(--primary);
}

.header-btn {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {

    .gnb,
    header>.container>.header-btn {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-main);
        cursor: pointer;
    }
}

/* Mobile Nav Drawer Styles */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    z-index: 999;
    display: none;
    /* Controlled by JS toggle in index.php */
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}



/* =========================================
   3.5 PREMIUM PARTNERSHIP SECTION
   ========================================= */
.partner-section {
    padding: 80px 0 !important;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 0;
    margin-bottom: 0 !important;
}

.partner-header {
    text-align: center;
    margin-bottom: 40px;
}

.partner-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.partner-header p {
    font-size: 15px;
    color: var(--text-sub);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-mb-responsive {
    margin-bottom: 100px;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 80s linear infinite;
    gap: 100px;
    padding: 0 40px;
    align-items: center;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 40px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-text-logo {
    font-size: 24px;
    font-weight: 900;
    color: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.partner-text-logo:hover {
    color: var(--primary);
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

.marquee-content.reverse {
    animation-direction: reverse;
}

/* =========================================
   3.6 CORE STRENGTHS
   ========================================= */
.core-strengths {
    background: var(--white);
}

.core-badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.strength-card {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
    border-color: var(--primary);
}

.s-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 28px;
    color: var(--text-light);
    transition: 0.3s;
}

.strength-card:hover .s-icon {
    background: var(--primary);
    color: white;
}

.strength-card h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.strength-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .strength-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .strength-card {
        padding: 25px 10px;
    }

    .strength-card:last-child {
        grid-column: span 2;
    }

    .strength-card h4 {
        font-size: 16px;
    }

    .strength-card p {
        font-size: 12px;
    }

    .s-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* =========================================
   4. AI RECOMMENDATION (Benchmark: image_e66448.jpg)
   ========================================= */
.ai-section {
    background: var(--white);
}

.section-header h2,
.section-header h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.section-header p {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 50px;
    line-height: 1.6;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.route-card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    background: white;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-map-thumb {
    height: 140px;
    background: #eee;
    background-image: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    position: relative;
}

.route-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--text-main);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.card-info {
    padding: 20px;
}

.card-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
}

.card-route {
    font-size: 13px;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   5. VEHICLE TYPES (Original)
   ========================================= */
.vehicle-section {
    background: var(--bg-light);
}

.vehicle-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.v-card {
    background: white;
    width: 100%;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--primary);
}

.v-img {
    width: 100%;
    max-width: 160px;
    height: 105px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.v-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.v-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* =========================================
   5.1 VEHICLE SPECIFICATIONS (Tabs)
   ========================================= */
.vehicle-specs-section {
    background: white;
}

.specs-container {
    width: 100%;
    margin: 0 auto;
}

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

.spec-tab-btn {
    padding: 10px 20px;
    background: #f1f5f9;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.spec-tab-btn:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.spec-tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.2);
}

.spec-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.spec-content.active {
    display: block;
}

.spec-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.spec-title {
    font-size: 48px;
    font-weight: 800;
    color: #444;
    margin-bottom: 10px;
}

.spec-illustration {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.spec-illustration:not(:has(img))::after {
    content: '차량 이미지 준비 중';
    font-size: 18px;
    font-weight: 700;
    color: #cbd5e1;
}

/* User will replace placeholders with real images */
.spec-illustration img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.spec-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 600px;
}

.spec-table th {
    background: var(--primary);
    /* Similar to user's blue in image */
    color: white;
    padding: 15px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.spec-table td {
    padding: 15px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: #444;
}

.spec-footnote {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .spec-display {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        grid-template-areas:
            "title title"
            "image table";
        gap: 20px 40px;
        align-items: center;
        text-align: left;
    }

    .spec-title {
        grid-area: title;
        font-size: 32px;
        margin-bottom: 0;
        text-align: left;
        width: 100%;
        padding-bottom: 15px;
        border-bottom: 1px solid #f1f5f9;
    }

    .spec-illustration {
        grid-area: image;
        margin: 0;
        max-width: 100%;
    }

    .spec-table-wrapper {
        grid-area: table;
        border: none;
    }

    .spec-table {
        min-width: unset;
        font-size: 15px;
    }

    .spec-table th,
    .spec-table td {
        padding: 12px 10px;
    }

    .vehicle-specs-section .section-header {
        margin-bottom: 30px !important;
    }

    .specs-tabs {
        margin-bottom: 30px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .vehicle-specs-section {
        padding: 40px 0;
    }

    .spec-title {
        display: none;
    }

    .specs-tabs {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        padding: 0 15px;
        margin-bottom: 25px;
        overflow-x: visible;
    }

    .spec-tab-btn {
        padding: 8px 2px;
        font-size: 11px;
        text-align: center;
        border-radius: 6px;
        white-space: normal;
        line-height: 1.2;
    }

    .spec-display {
        gap: 20px;
    }

    .spec-illustration {
        min-height: 140px;
        max-width: 95%;
        margin: 0 auto;
        border: none;
        background: transparent;
        padding: 0;
    }

    .spec-illustration img {
        max-height: 200px;
    }

    .spec-table-wrapper {
        border: none;
        padding: 0;
        margin-top: 10px;
    }

    .spec-table {
        min-width: 300px;
        table-layout: fixed;
    }

    .spec-table th,
    .spec-table td {
        padding: 8px 2px;
        font-size: 10px;
        border: 1px solid #f0f0f0;
    }

    .spec-footnote {
        font-size: 10px;
        margin-top: 15px;
        padding: 0 15px;
        color: #999;
        line-height: 1.4;
    }
}

/* Response adjustments for vehicle showcase */
@media (max-width: 1024px) {
    .vehicle-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vehicle-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .v-img {
        max-width: 110px;
        height: 70px;
        margin-bottom: 12px;
    }

    .v-card {
        padding: 24px 12px;
    }

    .v-card h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .v-desc {
        font-size: 12px;
        word-break: keep-all;
    }
}

@media (max-width: 480px) {
    .v-img {
        max-width: 100px;
        height: 65px;
    }
}

/* =========================================
   5.5 BOTTOM FLOATING BAR
   ========================================= */
.floating-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 550px;
    /* Restored for 3 items */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    /* Balanced gap for 3 items */
    z-index: 1000;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.floating-item i {
    font-size: 20px;
    color: var(--primary);
}

.floating-item span {
    font-size: 13px;
    font-weight: 700;
}

.floating-item:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

.btn-kakao-float {
    color: #3C1E1E !important;
}

.btn-kakao-float i {
    color: #FEE500 !important;
}

/* =========================================
   6. BANNER & Q&A (Benchmark: image_e6640b.png)
   ========================================= */
.corp-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    /* Mint Accent */
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 80px;
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.15);
}

.banner-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.banner-btn {
    background: white;
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qa-list {
    max-width: 1400px;
    margin: 0 auto;
}

.qa-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.qa-item:hover {
    border-color: var(--primary);
    background: #f8fbff;
    box-shadow: var(--shadow-card);
}

.q-text {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.q-mark {
    color: #ccc;
    font-weight: 400;
}

/* =========================================
   7. FOOTER
   ========================================= */
footer {
    background: #111;
    color: #888;
    padding: 60px 0;
    font-size: 14px;
}

.footer-info div {
    margin-bottom: 8px;
}

.footer-info span {
    margin-right: 15px;
}

.footer-bold {
    color: white;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    header {
        display: block !important;
        height: 60px;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        background: white;
        border-bottom: 1px solid #eee;
    }

    body {
        padding-bottom: 70px;
        /* Space for floating bar */
    }


    .card-grid,
    .vehicle-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .corp-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .floating-bar {
        bottom: 20px;
        /* Detached from bottom */
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        /* Not full width */
        max-width: 500px;
        border-radius: 24px;
        /* More rounded corners */
        padding: 12px 10px;
        padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
        justify-content: space-around;
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.85);
        /* Glassmorphism */
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    .floating-item {
        flex: 1;
        gap: 4px;
        min-width: 0;
        transition: 0.2s;
        border-radius: 16px;
        padding: 4px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .floating-item i {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .floating-item span {
        font-size: 11px;
        font-weight: 700;
        color: #444;
        white-space: nowrap;
    }

    /* Active effect for mobile items */
    .floating-item:active {
        background: rgba(0, 71, 171, 0.05);
        transform: scale(0.95);
    }

    .header-inner {
        padding: 0 20px;
        justify-content: space-between;
    }

    .logo img {
        height: 30px !important;
    }

    .gnb,
    .header-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 24px;
        color: #111;
        cursor: pointer;
        background: none;
        border: none;
        padding: 5px;
    }

    .mobile-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        display: none;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        padding: 15px 0;
        font-size: 16px;
        font-weight: 700;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
        text-decoration: none;
        display: block;
    }

    .mobile-nav a:last-child {
        border-bottom: none;
    }

    body {
        padding-top: 60px;
        /* Space for fixed header */
    }

    .hero {
        margin-top: 0;
    }
}


/* Mobile Header Vertical Padding Fix */
@media (max-width: 1024px) {
    header {
        height: auto !important;
        padding: 15px 0 !important;
    }

    .header-inner {
        align-items: center;
        padding: 0 20px;
    }

    .mobile-nav {
        top: 61px;
        /* Adjust for padding + content height roughly */
    }
}


/* Mobile Widget Scroll Fix */
@media (max-width: 1024px) {
    .order-widget {
        height: auto !important;
        overflow: visible !important;
    }

    .order-widget .widget-body {
        height: auto !important;
        overflow: visible !important;
        flex-grow: 0 !important;
    }

    .widget-screen {
        height: auto !important;
        overflow: visible !important;
    }
}


/* PC Header Fix: Hide mobile elements on desktop */
@media (min-width: 1025px) {

    .mobile-menu-btn,
    .mobile-nav {
        display: none !important;
    }
}

/* Real-time Chat Floating UI */
.chat-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 71, 171, 0.3);
    cursor: pointer;
    z-index: 1001;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 1024px) {

    #chat-button,
    .chat-floating-btn {
        display: none !important;
    }
}

.chat-floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-dark);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #E63946;
    color: white;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    animation: chatSlideUp 0.3s ease-out;
    /* Force GPU acceleration to prevent shaking */
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--primary);
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    display: inline-block;
}

.chat-window .close-btn {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
    transition: 0.2s !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

.chat-window .close-btn:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.chat-body {
    flex: 1;
    padding: 20px;
    background: #F9FAFB;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Prevent scroll chaining to the body */
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

.admin-msg-wrapper,
.customer-msg-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.admin-msg-wrapper {
    align-items: flex-start;
}

.customer-msg-wrapper {
    align-self: flex-end;
    align-items: flex-end;
}

.admin-msg,
.customer-msg {
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.admin-msg {
    background: white;
    color: #374151;
    border: 1px solid #E5E7EB;
    border-bottom-left-radius: 2px;
}

.customer-msg {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.msg-time {
    font-size: 10px;
    color: #9CA3AF;
    margin-top: 4px;
}

.chat-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #E5E7EB !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    outline: none !important;
    background: #fff !important;
}

.chat-footer input:focus {
    border-color: var(--primary) !important;
}

.chat-window .send-btn {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

.chat-window .send-btn:hover {
    background: var(--primary-dark) !important;
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100% - 40px);
        height: 60dvh;
        /* Use dynamic viewport height */
        bottom: 90px;
        right: 20px;
        /* Ensure no layout shift on mobile */
        max-height: -webkit-fill-available;
    }

    .chat-window .send-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
        flex-shrink: 0 !important;
    }

    .chat-footer {
        padding: 10px !important;
        gap: 8px !important;
    }

    .chat-footer input {
        height: 50px !important;
        min-width: 0 !important;
    }
}

/* =========================================
   3. HERO SECTION V2 (Premium Wide Style)
   ========================================= */
.hero-v2 {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 자식 컨테이너를 중앙으로 배치하여 헤더와 일치시킴 */
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

/* More contrast for mobile hero text */
@media (max-width: 768px) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.7);
        /* Even darker solid color for mobile */
    }
}

.hero-content-v2 {
    position: relative;
    z-index: 10;
    color: white;
    text-align: left !important;
    width: 100%;
    /* 전체 너비 확보 */
    max-width: 1400px;
    margin: 0 auto;
    /* Restore default container behavior */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.hero-text-area {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-align: left !important;
}

.hero-main-title span {
    color: var(--accent);
}

.hero-sub-text {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    text-align: left !important;
}

.hero-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.h-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.h-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.h-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.h-info small {
    font-size: 9px;
    font-weight: 700;
    opacity: 0.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.h-info span {
    font-size: 13px;
    font-weight: 700;
}

/* =========================================
   4. CALCULATOR & STATUS SECTION V2
   ========================================= */
.main-calculator-section {
    padding: 60px 0;
    background: #f4f7fa;
    margin-top: -60px;
    /* Overlap with hero */
    position: relative;
    z-index: 20;
}

.calc-layout-v2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: flex-start;
    /* Let left card dictate height */
}

.glass-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 71, 171, 0.05);
    border: 1px solid rgba(0, 71, 171, 0.05);
    position: relative;
    overflow: hidden;
}

.card-header {
    margin-bottom: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
}

.title-with-live {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    color: #111;
}

@media (min-width: 1024px) {
    .card-title {
        font-size: 24px;
    }
}

.live-tag {
    background: #e63946;
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 3px;
}

.sub-title {
    font-size: 10px;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.input-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.input-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 40px 14px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.inner-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.selector-group {
    margin-bottom: 15px;
}

.selector-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}

.selector-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.half-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}

/* Restored Grid and Button Styles used by V2 Calculator */
.grid-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.grid-selector.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid-selector.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.grid-selector.five-cols {
    grid-template-columns: repeat(5, 1fr);
}

.grid-selector.ton-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.select-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
}

.select-btn:hover {
    border-color: var(--primary);
    background: #f8faff;
}

.select-btn.active {
    border-color: var(--primary);
    background: #eff6ff;
    color: var(--primary);
    border-width: 2px;
    padding: 9px 7px;
}

.select-btn i {
    display: none;
}

.select-btn.ton-btn {
    padding: 8px 4px;
    font-size: 13px;
}

.main-calculator-section .ton-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px;
}

.main-calculator-section .freight-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
}

.main-calculator-section .select-btn {
    min-height: 44px;
    font-size: 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.main-calculator-section .select-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.fare-display-v2 {
    background: var(--primary);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.fare-result-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fare-main-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.fare-label {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.dist-display {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

.fare-value {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.inquiry-btn-v2 {
    background: #ffffff;
    color: #000000;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: 0.2s;
}

.inquiry-btn-v2:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.fare-note {
    margin-top: 15px;
    font-size: 13px;
    color: #475569;
    background: #f1f5f9;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    word-break: keep-all;
    line-height: 1.5;
}

.live-table-v2 {
    width: 100%;
    border-collapse: collapse;
}

.live-table-v2 th {
    text-align: left;
    padding: 10px 12px;
    font-size: 10px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}

.live-table-v2 td {
    padding: 12px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.live-marquee-viewport-v2 {
    height: 600px;
    overflow: hidden;
    position: relative;
}

.live-marquee-list-v2 {
    animation: live-scroll-v2 30s linear infinite !important;
}

@keyframes live-scroll-v2 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.status-chip {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
}

.chip-done {
    background: #ecfdf5;
    color: #10b981;
}

.chip-ing {
    background: #eff6ff;
    color: #3b82f6;
}

.chip-wait {
    background: #fff7ed;
    color: #f59e0b;
}

@media (max-width: 1100px) {
    .calc-layout-v2 {
        grid-template-columns: 1fr;
    }

    .hero-v2 {
        height: auto;
        padding: 100px 0 140px 0;
    }

    .status-column {
        min-height: 500px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        padding: 80px 0 100px 0;
    }

    .hero-main-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-sub-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .h-feature {
        padding: 10px 15px;
        flex: 1 1 45%;
    }

    .input-group-row {
        grid-template-columns: 1fr;
    }

    .selector-group-row {
        grid-template-columns: 1fr;
    }

    .main-calculator-section .ton-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Improve type and freight grids for mobile */
    .main-calculator-section .type-grid,
    .main-calculator-section .freight-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .fare-display-v2 {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 15px;
    }

    .fare-result-left {
        align-items: center;
    }

    .fare-main-row {
        justify-content: center;
        gap: 10px;
    }

    .fare-label {
        font-size: 18px;
        margin-bottom: 0;
    }

    .fare-value {
        font-size: 28px;
    }

    .dist-display {
        font-size: 13px;
    }

    .inquiry-btn-v2 {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 16px;
    }

    /* Partner Marquee Slow down for Mobile */
    .marquee-content {
        animation-duration: 120s !important;
        gap: 100px !important;
        padding: 0 20px !important;
    }

    .partner-logo {
        height: 25px !important;
    }

    .partner-text-logo {
        font-size: 16px !important;
    }

    /* Reduce Whitespace in Partner Section */
    .partner-section .section-header {
        margin-bottom: 30px !important;
    }

    .marquee-mb-responsive {
        margin-bottom: 30px !important;
    }

    .marquee-content {
        gap: 40px !important;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.8rem;
    }

    .main-calculator-section .ton-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .h-feature {
        flex: 1 1 100%;
    }
}

/* Calculator Submit Button V2 */
.calc-submit-btn-v2 {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 71, 171, 0.2);
}

.calc-submit-btn-v2:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 71, 171, 0.3);
}

.calc-submit-btn-v2:active {
    transform: translateY(0);
}

.calc-submit-btn-v2 i {
    font-size: 14px;
    transition: transform 0.2s;
}

.calc-submit-btn-v2:hover i {
    transform: translateX(3px);
}

/* Vertical Marquee Styling */
.status-card {
    display: flex;
    flex-direction: column;
}

.live-board-v2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    /* Ensure it fills available space */
}

.live-marquee-viewport-v2 {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
    min-height: 400px;
    /* Base height */
    height: calc(100% - 40px);
    /* Dynamic height based on flex parent */
}

.live-marquee-list-v2 {
    display: flex;
    flex-direction: column;
    animation: marqueeVertical 60s linear infinite;
}

.live-marquee-list-v2:hover {
    animation-play-state: paused;
}

@keyframes marqueeVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.live-table-v2 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.live-table-v2 th,
.live-table-v2 td {
    padding: 12px 8px;
    text-align: left;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Specific Column Widths */
.live-table-v2 th:nth-child(1),
.live-table-v2 td:nth-child(1) {
    width: 30%;
}

.live-table-v2 th:nth-child(2),
.live-table-v2 td:nth-child(2) {
    width: 30%;
}

.live-table-v2 th:nth-child(3),
.live-table-v2 td:nth-child(3) {
    width: 20%;
}

.live-table-v2 th:nth-child(4),
.live-table-v2 td:nth-child(4) {
    width: 20%;
}

.status-chip {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.chip-done {
    background: #f0fdf4;
    color: #16a34a;
}

.chip-ing {
    background: #eff6ff;
    color: #2563eb;
}

.chip-wait {
    background: #fffbeb;
    color: #d97706;
}

.status-card {
    display: flex;
    flex-direction: column;
}

.status-card {
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.status-column {
    position: relative;
    height: 100%;
}

/* Footer Mobile Optimization */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 !important;
        font-size: 13px !important;
        text-align: center !important;
    }

    .footer-info div {
        margin-bottom: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .footer-info span,
    .footer-info a {
        margin-right: 0 !important;
        display: block !important;
        width: auto !important;
    }

    .footer-bold {
        font-size: 14px !important;
        margin-bottom: 4px !important;
        color: white !important;
    }
}

/* =========================================
   8. UNIFIED SEARCH MODAL (Custom Premium)
   ========================================= */
#unified-search-modal {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
    display: none;
    border-radius: inherit;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.us-backdrop {
    display: none;
    /* Already absolute in widget */
}

.us-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.us-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #f8f9fa;
}

.us-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.us-title {
    font-weight: 800;
    font-size: 17px;
    color: #111;
}

.us-search-box {
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.us-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.us-search-box .search-icon {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 14px;
}

.us-search-input {
    width: 100% !important;
    padding: 12px 15px 12px 40px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s;
}

.us-search-input:focus {
    border-color: var(--primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1) !important;
}

.us-results {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.us-results-info {
    padding: 12px 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.us-results-info i {
    font-size: 12px;
    color: #999;
}

.us-results-info span {
    color: #888;
    font-weight: 500;
}

.us-section {
    margin-bottom: 15px;
}

.us-section-title {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    background: #fcfdfe;
    border-bottom: 1px solid #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.us-item {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.1s;
}

.us-item:hover {
    background: #f8faff;
}

.us-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.us-item-name {
    font-size: 15px;
    font-weight: 800;
    color: #1a202c;
}

.us-item-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.us-badge {
    padding: 1px 6px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.us-badge.addr {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #dcfce7;
}

.us-badge.place {
    background: #eff6ff;
    color: #2563eb;
    border-color: #dbeafe;
}

.us-subtext {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.arrow-icon {
    font-size: 12px;
    color: #cbd5e1;
    transition: transform 0.2s;
}

.us-item:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(3px);
}

/* Utils */
.us-empty-state,
.us-loading,
.us-no-result {
    padding: 50px 20px;
    text-align: center;
    color: #94a3b8;
}

.us-empty-state i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.us-loading i {
    font-size: 20px;
    color: var(--primary);
}

/* Partner Disclaimer Styles */
.partner-disclaimer {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .partner-disclaimer {
        text-align: center;
        font-size: 10px;
        line-height: 1.4;
        padding: 0 10px;
        margin-top: 30px;
    }
}


/* =========================================
   8. FOOTER CTA SECTION (Enhanced)
   ========================================= */
.footer-cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/cta_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.footer-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.9) 0%, rgba(0, 30, 80, 0.95) 100%);
    z-index: 1;
}

.footer-cta-container {
    position: relative;
    z-index: 2;
}

.footer-cta-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.cta-title {
    font-size: 32px !important;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-desc {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 40px;
    line-height: 1.6;
    word-break: keep-all;
}

.footer-cta-btn {
    background: white;
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    padding: 20px 50px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-cta-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.footer-cta-btn:hover {
    background: var(--brand-accent);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.footer-cta-btn:active {
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
    .footer-cta-section {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .cta-title {
        font-size: 26px !important;
    }

    .cta-desc {
        font-size: 14px !important;
        margin-bottom: 30px;
    }

    .footer-cta-btn {
        font-size: 16px;
        padding: 16px 35px;
        width: 100%;
    }
}

.w-full {
    width: 100% !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-gray-50 {
    background-color: #f9fafb !important;
}

.rounded-3xl {
    border-radius: 1.5rem !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.border {
    border: 1px solid #e5e7eb !important;
}

.border-gray-100 {
    border-color: #f3f4f6 !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.rounded-xl {
    border-radius: 0.75rem !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.p-10 {
    padding: 2.5rem !important;
}

.max-w-md {
    max-width: 28rem !important;
}

.relative {
    position: relative !important;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

.hover\:underline:hover {
    text-decoration: underline !important;
}