/* ==========================================
   THE BIG HOTEL STORE - MAIN STYLESHEET
   ========================================== */

/* --- CSS Variables & Design System --- */
:root {
    --primary-red: #CC2A28;
    --primary-red-hover: #A8201E;
    --primary-red-light: #FFF5F5;
    --primary-red-subtle: rgba(204, 42, 40, 0.08);

    --dark-bg: #111827;
    --darker-bg: #0B0F19;
    --card-dark-bg: #1E293B;

    --text-dark: #0F172A;
    --text-heading: #1E293B;
    --text-body: #475569;
    --text-muted: #64748B;
    --text-light: #F8FAFC;

    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    --border-color: #E2E8F0;
    --border-dark: #334155;

    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.18);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.bg-darker {
    background-color: var(--darker-bg);
}

.bg-red-banner {
    background-color: var(--primary-red);
}

.text-white {
    color: var(--text-light) !important;
}

.text-gray {
    color: #94A3B8 !important;
}

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

/* --- Typography System --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.25;
}

.section-title {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.title-underline {
    width: 70px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 0.75rem auto 2.5rem auto;
    border-radius: 2px;
}

.title-underline.white-underline {
    background-color: #FFFFFF;
}

.title-underline.red-underline {
    background-color: var(--primary-red);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}

.btn-secondary-white {
    background-color: #FFFFFF;
    color: var(--primary-red);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-secondary-white:hover {
    background-color: #F8FAFC;
    color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.825rem;
}

.btn-lg {
    padding: 0.65rem 1.4rem;
    font-size: 0.925rem;
}

.btn-xl {
    padding: 0.75rem 1.65rem;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

/* --- SITE HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 1. Top Contact Bar (Black) */
.top-bar {
    background-color: #111111;
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 80px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
}

/* Hide topbar when scrolling down */
.site-header.scrolled .top-bar {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
    pointer-events: none;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.top-bar-link,
.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #E2E8F0;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
}

.top-bar-link:hover {
    color: #FFFFFF;
}

.top-bar-link i,
.top-bar-item i {
    font-size: 0.85rem;
    color: #CBD5E1;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* 2. Main Header Navigation (White) */
.main-header {
    background-color: #FFFFFF;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-cta {
    background-color: var(--primary-red);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 0.45rem 1.15rem;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(200, 16, 46, 0.25);
    text-transform: uppercase;
}

.header-cta:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.4);
}

/* --- SECTION 1: HERO & LEAD FORM --- */
.hero-section {
    position: relative;
    background-image: url('images/hero-BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0 5rem 0;
    color: #FFFFFF;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(15 23 42 / 39%) 0%, rgb(0 0 0 / 68%) 100%) z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

/* Hero Left Content */
.eyebrow-badge {
    display: inline-block;
    background: #FFFFFF;
    color: var(--primary-red);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-size: 0.775rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.hero-heading {
    font-size: 2.75rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.text-highlight {
    color: #FFFFFF;
}

.hero-description {
    font-size: 1.05rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

/* Key Stats Horizontal Checkmark Bar */
.hero-stats-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.75rem;
}

.stat-inline-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.stat-inline-item i {
    color: #22C55E;
    font-size: 1rem;
}

.stat-inline-item strong {
    font-weight: 700;
}

/* SECTION 2: HERO RIGHT LEAD FORM CARD */
.hero-form-wrapper {
    width: 100%;
}

.lead-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2.25rem 2rem;
    color: var(--text-dark);
}

.lead-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.925rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    background-color: #FFFFFF;
    color: var(--text-dark);
    transition: var(--transition-fast);
    outline: none;
}

.lead-form input::placeholder {
    color: #6B7280;
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1em;
    padding-right: 2.5rem;
}

.form-submit-btn {
    margin-top: 0.5rem;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background-color: var(--primary-red);
    border-radius: var(--radius-sm);
}

.form-footer-notes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.825rem;
}

.privacy-note {
    font-weight: 500;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.privacy-note i {
    color: #64748B;
    font-size: 0.85rem;
}

.direct-phone-call {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.direct-phone-call i {
    color: var(--primary-red);
}

.direct-phone-call a {
    color: var(--primary-red);
    font-weight: 800;
}

/* --- SECTION 3: TRUSTED BY CAROUSEL --- */
.trusted-by-section {
    padding: 3.5rem 0 3.5rem 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
}

.logo-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.logo-carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.client-logo-item {
    flex: 0 0 250px;
    height: 130px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    transition: var(--transition-fast);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.client-logo-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.client-logo-item img {
    max-height: 105px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.client-logo-item:hover img {
    transform: scale(1.06);
}

.carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.carousel-nav:hover {
    background-color: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
}

.carousel-prev {
    margin-right: 0.75rem;
}

.carousel-next {
    margin-left: 0.75rem;
}

/* Business Types Bar */
.business-types-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1rem;
    margin-top: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.b-type-tag {
    color: var(--text-heading);
}

.b-divider {
    color: var(--primary-red);
    font-weight: 800;
}

/* --- SECTION 4: PAIN POINTS SECTION --- */
.pain-points-section {
    background-color: var(--bg-light);
    padding: 4.5rem 0;
}

.title-top-line {
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 0 auto 0.75rem auto;
    border-radius: 2px;
}

.pain-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
    max-width: 960px;
    margin: 2.5rem auto 3rem auto;
}

.pain-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.pain-card:hover {
    background: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pain-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: #333333;
    line-height: 1.5;
    font-weight: 500;
}

.pain-closing-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.closing-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.pain-cta-btn {
    background-color: var(--primary-red);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.925rem;
    letter-spacing: 0.04em;
    padding: 0.8rem 2.25rem;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.pain-cta-btn:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.4);
}

/* --- SECTION 5: VALUE PROPOSITION SECTION --- */
.comparison-table-wrapper {
    max-width: 980px;
    margin: 2.5rem auto 3rem auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    text-align: left;
}

.comparison-table th {
    background-color: #111111;
    color: #FFFFFF;
    padding: 1.1rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    width: 50%;
}

.problem-col-header {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table td {
    padding: 1.15rem 1.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) td {
    background-color: #F9F8F3;
}

.comparison-table tbody tr:nth-child(odd) td {
    background-color: #FFFFFF;
}

.problem-cell {
    color: #666666;
    font-weight: 500;
    border-right: 1px solid #E2E8F0;
}

.problem-cell i {
    color: #DC2626;
    margin-right: 0.75rem;
    font-size: 1.05rem;
}

.solution-cell {
    color: #111827;
    font-weight: 700;
}

.solution-cell i {
    color: #16A34A;
    margin-right: 0.75rem;
    font-size: 1.05rem;
}

.value-prop-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.supporting-microtext {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- SECTION 6: ABOUT / LEGACY SECTION --- */
.legacy-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.legacy-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lead-para {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
}

.highlight-box-text {
    background-color: var(--primary-red-light);
    border-left: 4px solid var(--primary-red);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 1.025rem;
}

.showroom-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 0.5rem;
}

.showroom-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-red);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.showroom-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.showroom-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legacy-stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.legacy-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.legacy-stat-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.legacy-stat-card.full-width {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-red) 0%, #A60D24 100%);
    color: #FFFFFF;
}

.legacy-stat-card.full-width .l-stat-num,
.legacy-stat-card.full-width .l-stat-label {
    color: #FFFFFF;
}

.l-stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.l-stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* --- SECTION 7: DIRECTOR SECTION --- */
.director-section {
    background-color: #0F172A;
}

.video-container-box {
    max-width: 820px;
    margin: 2.5rem auto;
}

.video-thumbnail-card {
    position: relative;
    width: 100%;
    height: 440px;
    background-image: url('images/hero-BG.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-xl);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: var(--transition-normal);
}

.video-thumbnail-card:hover .video-overlay {
    background: rgba(15, 23, 42, 0.55);
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding-left: 5px;
    box-shadow: 0 0 30px rgba(200, 16, 46, 0.6);
    transition: var(--transition-normal);
}

.video-thumbnail-card:hover .play-btn {
    transform: scale(1.15);
    background-color: #E53935;
}

.video-cta-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* --- SECTION 8: PRODUCT CATEGORIES / ECOSYSTEM SECTION --- */
.product-categories-section {
    background-color: #FAFAFA;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 24px 24px;
    position: relative;
}

.ecosystem-container {
    max-width: 1140px;
    margin: 3.5rem auto 3.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ecosystem-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
}

.ecosystem-card {
    width: 340px;
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.14);
}

.eco-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #0F172A;
    flex-shrink: 0;
}

.eco-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ecosystem-card:hover .eco-img-wrapper img {
    transform: scale(1.06);
}

.eco-card-content {
    padding: 1.5rem 1.35rem 1.65rem 1.35rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #FFFFFF;
    flex-grow: 1;
}

.eco-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    text-align: left;
    transition: color 0.25s ease;
}

.eco-card-content p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
    text-align: left;
}

.ecosystem-card:hover .eco-card-content h3 {
    color: var(--primary-red);
}

.categories-closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.closing-note {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* --- SECTION 9: TESTIMONIAL VIDEOS SECTION --- */
.testimonials-section {
    background-color: var(--primary-red);
    padding: 4.5rem 0;
}

.testi-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
}

.testi-carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0;
}

.testi-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-video-card {
    flex: 0 0 calc(33.333% - 1rem);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testi-video-frame {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background-color: #000000;
}

.testi-video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testi-video-card:hover .testi-video-img {
    transform: scale(1.05);
}

.testi-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 3.5px solid #FFFFFF;
    background: rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.testi-video-card:hover .testi-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(200, 16, 46, 0.9);
}

.testi-video-caption {
    margin-top: 1rem;
    color: #FFFFFF;
}

.testi-video-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.15rem;
}

.testi-video-caption p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.testi-nav {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
    z-index: 10;
    flex-shrink: 0;
}

.testi-nav:hover {
    transform: scale(1.3);
}

/* --- SECTION 10: PROCESS SECTION --- */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.process-step-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.step-num-badge {
    position: absolute;
    top: -20px;
    left: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(200, 16, 46, 0.3);
}

.process-step-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.process-step-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.process-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.layout-support-box {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    max-width: 720px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.layout-support-box i {
    font-size: 1.5rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.layout-support-box p {
    font-size: 0.925rem;
    color: var(--text-body);
}

/* --- SECTION 11: FINAL LEAD GENERATION SECTION --- */
.final-lead-section {
    background-color: var(--primary-red);
    padding: 4.5rem 0;
}

.final-lead-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.final-lead-info h2 {
    font-size: 2.35rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.final-desc {
    font-size: 1.025rem;
    color: #FFD1D6;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.975rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.4;
}

.benefits-list i {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-top: 0.15rem;
}

.layout-bonus-subtext {
    font-size: 0.9rem;
    color: #FFD1D6;
    line-height: 1.55;
}

.final-form-box {
    width: 100%;
}

/* --- SECTION 13: FAQ SECTION --- */
.faq-accordion-wrapper {
    max-width: 900px;
    margin: 2.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.075rem;
    font-weight: 700;
    color: var(--text-dark);
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-icon {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 1.5rem;
    background-color: #FAFAFA;
}

.faq-item.active .faq-answer {
    max-height: 350px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    font-size: 0.975rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* --- SECTION 14: FINAL CTA --- */
.final-cta-section {
    padding: 4.5rem 0;
}

.final-cta-btn-wrapper {
    margin-top: 2rem;
}

/* --- SECTION 15: FOOTER --- */
.site-footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    background-color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.footer-brand-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-about {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.6;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    font-size: 0.925rem;
    color: #CBD5E1;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-list i {
    color: var(--primary-red);
}

.contact-list a:hover {
    color: var(--primary-red);
}

.address-text {
    font-size: 0.925rem;
    color: #CBD5E1;
    line-height: 1.6;
    display: flex;
    gap: 0.75rem;
}

.address-text i {
    color: var(--primary-red);
    margin-top: 0.25rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    font-size: 0.85rem;
    color: #64748B;
}

/* --- MODAL LIGHTBOX --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
}

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

/* --- LEAD FORM MODAL BOX --- */
.lead-modal-box {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

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

.lead-modal-box .modal-close {
    color: #111111;
    z-index: 10;
    top: 1rem;
    right: 1.25rem;
}

.lead-modal-box .lead-card {
    border-radius: 0;
    box-shadow: none;
    padding: 2.25rem 2rem 2rem 2rem;
}

.modal-content {
    position: relative;
    background: #0F172A;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 900px;
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-dark);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.modal-heading {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    padding-right: 2rem;
}

.responsive-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000000;
}

.responsive-video-container iframe,
.responsive-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    object-fit: contain;
}

/* --- TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0F172A;
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-left: 5px solid #10B981;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
}

.toast i {
    font-size: 1.5rem;
    color: #10B981;
}

.toast-content h5 {
    color: #FFFFFF;
    font-size: 0.95rem;
}

.toast-content p {
    font-size: 0.85rem;
    color: #94A3B8;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1024px) {

    .hero-container,
    .legacy-grid,
    .final-lead-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .pain-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-container {
        max-width: 980px;
        gap: 1.5rem;
    }

    .ecosystem-row {
        gap: 1.5rem;
    }

    .ecosystem-card {
        width: 300px;
    }

    .eco-img-wrapper {
        height: 210px;
    }

    .eco-card-content {
        padding: 1.35rem 1.2rem 1.5rem 1.2rem;
    }

    .eco-card-content h3 {
        font-size: 1.2rem;
    }

    .eco-card-content p {
        font-size: 0.9rem;
    }

    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .testi-video-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Top Bar Mobile Optimization */
    .top-bar-container {
        justify-content: center;
        text-align: center;
    }

    .top-bar-right {
        display: none;
    }

    .top-bar-left {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.75rem;
    }

    .top-bar-link {
        font-size: 0.75rem;
    }

    /* Main Header Mobile */
    .main-header {
        padding: 0.6rem 0;
    }

    .brand-logo {
        height: 54px;
    }

    /* Mobile CTA Button Sizing */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .btn-lg,
    .btn-xl {
        padding: 0.55rem 1.15rem;
        font-size: 0.825rem;
    }

    .header-cta {
        padding: 0.35rem 0.75rem;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    /* Hero Mobile Optimization */
    .hero-section {
        padding: 3rem 0 3.5rem 0;
    }

    .eyebrow-badge {
        font-size: 0.675rem;
        padding: 0.4rem 0.9rem;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
    }

    .hero-heading {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats-inline {
        gap: 0.75rem 1.25rem;
    }

    .stat-inline-item {
        font-size: 0.85rem;
    }

    /* Lead Form Mobile */
    .lead-card {
        padding: 1.5rem 1.25rem;
        border-radius: var(--radius-md);
    }

    .lead-card-header h3 {
        font-size: 1.2rem;
    }

    /* Section Headers Mobile */
    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Client Logos Mobile */
    .client-logo-item {
        flex: 0 0 200px;
        height: 110px;
        padding: 0.75rem 1.25rem;
    }

    .client-logo-item img {
        max-height: 85px;
    }

    /* Pain Points Mobile */
    .pain-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pain-card {
        padding: 1.25rem;
    }

    .pain-card p {
        font-size: 0.9rem;
    }

    .closing-text {
        font-size: 1rem;
    }

    .pain-cta-btn {
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    /* Comparison Table Mobile */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.85rem;
        font-size: 0.825rem;
    }

    .problem-cell i,
    .solution-cell i {
        margin-right: 0.4rem;
        font-size: 0.9rem;
    }

    /* Legacy Section Mobile */
    .legacy-stats-container {
        grid-template-columns: 1fr;
    }

    .legacy-stat-card.full-width {
        grid-column: span 1;
    }

    .l-stat-num {
        font-size: 1.85rem;
    }

    /* Director Video Mobile */
    .video-thumbnail-card {
        height: 250px;
    }

    .play-btn {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }

    .video-cta-label {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    /* Ecosystem Layout Mobile */
    .ecosystem-container {
        gap: 1.25rem;
        margin: 2.5rem auto;
    }

    .ecosystem-row {
        gap: 1.25rem;
    }

    .ecosystem-card {
        width: 235px;
        border-radius: 12px;
    }

    .eco-img-wrapper {
        height: 165px;
    }

    .eco-card-content {
        padding: 1.15rem 1rem 1.35rem 1rem;
    }

    .eco-card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
    }

    .eco-card-content p {
        font-size: 0.825rem;
    }

    /* Video Testimonials Mobile */
    .testi-video-card {
        flex: 0 0 100%;
    }

    .testi-video-frame {
        height: 300px;
    }

    .testi-play-btn {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .testi-nav {
        font-size: 1.3rem;
        padding: 0.25rem;
    }

    /* Process Steps Mobile */
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step-card {
        padding: 1.75rem 1.25rem 1.25rem 1.25rem;
    }

    /* Final Lead Mobile */
    .final-lead-info h2 {
        font-size: 1.7rem;
    }

    .benefits-list li {
        font-size: 0.9rem;
    }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 480px) {
    .brand-logo {
        height: 46px;
    }

    .header-cta {
        padding: 0.28rem 0.65rem;
        font-size: 0.65rem;
        letter-spacing: 0.01em;
    }

    .hero-heading {
        font-size: 1.45rem;
    }

    .btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.775rem;
    }

    .btn-lg,
    .btn-xl {
        padding: 0.5rem 1rem;
        font-size: 0.775rem;
    }

    .form-submit-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }

    .client-logo-item {
        flex: 0 0 170px;
        height: 95px;
        padding: 0.6rem 1rem;
    }

    .client-logo-item img {
        max-height: 72px;
    }

    /* Ecosystem Layout Small Mobile */
    .ecosystem-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
        max-width: 420px;
        margin: 2rem auto;
    }

    .ecosystem-row {
        display: contents;
    }

    .ecosystem-card {
        width: 100%;
        border-radius: 12px;
    }

    .ecosystem-row:last-child .ecosystem-card:last-child {
        grid-column: span 2;
        max-width: 220px;
        margin: 0 auto;
    }

    .eco-img-wrapper {
        height: 135px;
    }

    .eco-card-content {
        padding: 0.95rem 0.85rem 1.1rem 0.85rem;
    }

    .eco-card-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .eco-card-content p {
        font-size: 0.775rem;
        line-height: 1.35;
    }

    .footer-logo {
        padding: 8px 14px;
    }

    .footer-brand-img {
        height: 48px;
    }
}