/* ================================
   TRANSATLANTIC LANDING PAGE
   Page-specific styles (deferred)
   ================================ */

/* Hero overrides, locale-slider-container, and locale-layer rules
   are in critical.css (lines 906–948) — do not duplicate here.
   The background URL resolves differently from css/pages/ vs css/. */

/* --- Hero Content --- */

.transatlantic-hero-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .transatlantic-hero-content {
        padding: 5rem 0;
    }
}

/* --- Hero Toggle Animation --- */

.hero-toggle-animation {
    display: inline-flex;
    position: relative;
    min-width: 8rem;
    height: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-full, 9999px);
    background: rgba(255, 255, 255, 0.85);
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.toggle-value {
    position: absolute;
    font-size: var(--text-lg, 1.125rem);
    font-weight: var(--weight-semibold, 600);
    color: var(--color-gray-900, #111827);
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

.toggle-value.is-hidden {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .toggle-value {
        transition: none;
    }
}

/* --- Locale Content Typography --- */

.locale-content {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .locale-content {
        padding: 4rem 0;
    }
}

.locale-content p {
    margin-bottom: 1.75rem;
    color: var(--color-gray-700, #374151);
    line-height: 1.75;
    font-size: 1.0625rem;
    padding: 0 5px;
}

@media (min-width: 768px) {
    .locale-content p {
        font-size: var(--text-lg, 1.125rem);
    }
}

/* --- Locale Slider Container --- */

@media (max-width: 767px) {
    .locale-layer-uk {
        position: relative;
    }
}

/* --- Mobile Layer Switching --- */

@media (max-width: 767px) {
    body.locale-us .locale-layer-uk {
        display: none;
    }

    body.locale-us .locale-layer-us {
        display: block;
    }

    body.locale-uk .locale-layer-uk {
        display: block;
    }

    body.locale-uk .locale-layer-us {
        display: none;
    }
}

/* --- Hero Locale Switching --- */

body.locale-us .hero-locale-uk {
    display: none;
}

body.locale-us .hero-locale-us {
    display: inline;
}

/* --- Drag Handle (Desktop Only) --- */

.locale-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    cursor: ew-resize;
    z-index: 10;
    display: none;
    left: 99%;
}

@media (min-width: 768px) {
    .locale-handle {
        display: block;
    }
}

.locale-handle-grip {
    position: absolute;
    top: 63rem;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-teal-700, #027373);
    border-radius: var(--radius-full, 9999px);
    padding: 0.625rem 1rem;
    white-space: nowrap;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1));
}

.locale-handle-icon {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.locale-handle-icon span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #EDEDF0;
}

.locale-label {
    font-size: 0.8125rem;
    font-weight: var(--weight-bold, 700);
    color: #EDEDF0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

/* --- Slider Prompt --- */

.slider-prompt {
    background: rgba(2, 115, 115, 0.05);
    border-left: 3px solid var(--color-teal-700, #027373);
    padding: 1.25rem 1.5rem;
    margin: 2.5rem 0;
    border-radius: 0 var(--radius-md, 0.5rem) var(--radius-md, 0.5rem) 0;
}

.drag-hint {
    display: none;
    align-items: center;
    justify-content: center;
    max-width: 25rem;
    margin: 0.75rem auto 0;
    color: var(--color-teal-700, #027373);
    font-size: 1.25rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .drag-hint {
        display: flex;
    }
}

.drag-hint-line {
    flex: 1;
    height: 2px;
    background: var(--color-teal-700, #027373);
    margin: 0 0.5rem;
}

.slider-prompt p {
    margin-bottom: 0;
    color: var(--color-gray-800, #1f2937);
    font-size: 1rem;
    padding: 0 5px;
}

/* --- Mobile Toggle --- */

.locale-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .locale-toggle-mobile {
        display: none;
    }
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.locale-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-teal-700, #027373);
    border-radius: var(--radius-full, 9999px);
    transition: background var(--transition-base, 200ms ease);
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #EDEDF0;
    border-radius: 50%;
    transition: transform var(--transition-base, 200ms ease);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.locale-toggle-input:checked+.toggle-track .toggle-thumb {
    transform: translateX(24px);
}

.toggle-label {
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--weight-bold, 700);
    color: var(--color-gray-700, #374151);
    min-width: 1.5rem;
    text-align: center;
}

/* --- Pull Quotes --- */

.pull-quote {
    font-size: var(--text-2xl, 1.5rem);
    font-weight: var(--weight-semibold, 600);
    color: var(--color-teal-700, #027373);
    text-align: center;
    padding: 2.5rem calc(1rem + 5px);
    margin: 2rem 0;
    border: none;
    line-height: var(--line-height-snug, 1.25);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}

@media (min-width: 768px) {
    .pull-quote {
        font-size: 1.75rem;
        padding: 3rem 2rem;
    }
}

/* --- 360Dash Screenshots --- */

.dash-screenshots {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

@media (min-width: 768px) {
    .dash-screenshots {
        grid-template-columns: 1fr 1fr;
    }
}

.dash-screenshots img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md, 0.5rem);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
}

.screenshot-hint {
    text-align: center;
    font-size: var(--text-sm, 0.875rem);
    font-style: italic;
    color: var(--color-gray-400, #9ca3af);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md, 0.5rem);
}

/* --- CTA Section --- */

.transatlantic-cta {
    text-align: center;
    padding: 2rem 0 4rem;
}

@media (min-width: 768px) {
    .transatlantic-cta {
        padding: 3rem 0 5rem;
    }
}

.transatlantic-cta p {
    margin-bottom: 2rem;
    color: var(--color-gray-700, #374151);
    line-height: 1.75;
    font-size: 1.0625rem;
    padding: 0 5px;
}

@media (min-width: 768px) {
    .transatlantic-cta p {
        font-size: var(--text-lg, 1.125rem);
    }
}

.transatlantic-cta-buttons {
    display: flex;
    justify-content: center;
}