﻿/* ===== Core Theme ===== */
:root {
    --lime: #9FE21B;
    --lime-strong: #8ad100;
    --bg: #0e0f10;
    --bg-soft: #151617;
    --ink: #e5e7eb;
    --muted: #9aa0a6;
    --muted-2: #b3b7bd;
    --border: #242628;
}

html, body {
    height: 100%;
}

    body.ts-dark {
        background: var(--bg);
        color: var(--ink);
        font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        -webkit-text-size-adjust: 100%;
    }

/* ===== Typography ===== */
.ts-headline {
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    line-height: .95;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.ts-h3 {
    font-weight: 800;
    letter-spacing: .2px;
}

.ts-lime {
    color: var(--lime);
}

.ts-eyebrow {
    font-weight: 700;
    color: var(--lime);
    letter-spacing: .6px;
    text-transform: uppercase;
}

.text-muted-2 {
    color: var(--muted-2) !important;
}

.lead {
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* ===== Navbar / Footer ===== */
.ts-navbar {
    background: #0b0c0d;
    border-color: var(--border) !important;
}

.ts-footer {
    background: #0b0c0d;
    color: var(--muted);
}

/* ===== Buttons ===== */
.btn-lime {
    --bs-btn-color: #000;
    --bs-btn-bg: var(--lime);
    --bs-btn-border-color: var(--lime);
    --bs-btn-hover-bg: var(--lime-strong);
    --bs-btn-hover-border-color: var(--lime-strong);
    --bs-btn-font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ts-ghost {
    border-color: rgba(255,255,255,.25) !important;
    color: #fff !important;
}

    .ts-ghost:hover {
        background: rgba(255,255,255,.08);
    }

/* ===== Stars ===== */
.ts-stars {
    color: #f59e0b;
    letter-spacing: .2rem;
}

/* ===== Hero ===== */
.ts-hero {
    position: relative;
    min-height: 64vh;
    display: grid;
    align-items: start; /* pin content to top */
}

/* Logo under navbar (top-left of hero, aligned to container) */
.ts-hero-logo-container {
    position: relative;
    z-index: 2;
}


.ts-hero-content {
    padding-top: 0;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* tighten vertical gaps inside the hero row */
.ts-hero .row {
    --bs-gutter-y: 0;
}

    .ts-hero .row.align-items-center {
        align-items: flex-start !important;
    }

.ts-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75;
    filter: brightness(1.15) contrast(1.05);
    z-index: 0;
}

.ts-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 30% 40%, rgba(0,0,0,.12), rgba(0,0,0,.45) 60%), linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.45));
    z-index: 0;
    pointer-events: none; /* never block video/buttons */
}

/* Left column offset so logo never overlaps text */
@media (min-width: 992px) {
    .ts-hero-left {
        margin-top: clamp(100px, 10vw, 160px);
    }
}

@media (max-width: 991.98px) {
    .ts-hero-logo {
        width: clamp(140px, 36vw, 220px);
    }

    .ts-hero-left {
        margin-top: clamp(56px, 12vw, 110px);
    }
}

/* Play icon align */
.ts-play {
    display: inline-block;
    transform: translateY(-1px);
    margin-right: .5rem;
}

/* Bottom promo bar */
.ts-promo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    color: var(--muted-2);
    border-top: 1px solid var(--border);
    padding: .75rem 0;
    z-index: 1;
}

/* ===== Trust strip ===== */
.ts-trust {
    background: #111214;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-logo {
    max-height: 28px;
    opacity: .75;
    filter: grayscale(100%);
}

    .trust-logo:hover {
        opacity: 1;
        filter: none;
    }

/* ===== Sections & Cards ===== */
.ts-section {
    background: var(--bg);
}

.ts-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.25rem 1.25rem 1rem;
}

    .ts-card h5 {
        font-weight: 800;
    }

/* ===== Video (portrait 9:16) ===== */
.ts-video-wrap {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.ts-video-wrap--portrait9x16 {
    width: clamp(280px, 32vw, 560px);
    aspect-ratio: 9 / 16;
}

/* Fallback if aspect-ratio is unavailable */
@supports not (aspect-ratio: 1 / 1) {
    .ts-video-wrap--portrait9x16 {
        position: relative;
        width: clamp(280px, 32vw, 560px);
    }

        .ts-video-wrap--portrait9x16::before {
            content: "";
            display: block;
            padding-top: 177.78%; /* 9:16 */
        }

    .ts-video {
        position: absolute;
        inset: 0;
    }
}

/* Make the video fill the portrait frame without cropping */
.ts-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

.ts-video-caption {
    opacity: .9;
}


/* Keep hero content anchored to top so video sits tight to the navbar */
.ts-hero {
    align-items: start;
}

.ts-hero-content {
    padding-top: 0 !important;
}

.ts-hero .row {
    --bs-gutter-y: 0 !important;
}
/* ensure columns don't re-add top spacing */
.ts-hero .col-lg-6, .ts-hero .col-xl-5, .ts-hero .col-xl-7 {
    padding-top: 0 !important;
}

@media (max-width: 991.98px) {
    .ts-hero-logo {
        width: clamp(140px, 36vw, 260px);
        margin-bottom: .75rem;
    }
}

/* Centered logo bar above the hero content */
.ts-hero-logo-bar {
    padding-top: .25rem;
    margin-bottom: .5rem; /* small gap below the logo */
}

/* 50% smaller logo + centered */
.ts-hero-logo {
    position: static; /* in-flow element, not absolute */
    display: block;
    width: clamp(90px, 10.5vw, 165px); /* was 180px, 21vw, 330px */
    height: auto;
    margin: .25rem auto 1rem; /* centers it */
    object-fit: contain;
    /* (optional styling; keep or remove as you like) */
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .5rem;
    padding: .35rem .55rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Center the logo robustly and kill any old absolute rules */
.ts-hero-logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: .25rem;
    margin-bottom: .5rem;
}

.ts-hero-logo {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: block !important;
    width: clamp(90px, 10.5vw, 165px) !important; /* 50% smaller */
    height: auto;
    margin: .25rem auto 1rem !important; /* centers block with auto margins */
}

/* --- Fix mobile overlap: let the promo bar flow below the hero --- */
@media (max-width: 767.98px) {
    .ts-hero {
        min-height: auto;
    }
    /* don't force a tall hero */
    .ts-hero-content {
        padding-bottom: 1rem;
    }
    /* little breathing room */
    .ts-promo {
        position: static; /* was absolute */
        padding: .5rem .75rem;
        background: rgba(0,0,0,.85);
        border-top: 1px solid var(--border);
    }
        /* Stack promo items vertically and center them */
        .ts-promo .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .35rem;
            text-align: center;
        }

            .ts-promo .container > div {
                width: 100%;
            }
}

/* Optional: slightly smaller text so long lines don't wrap awkwardly */
@media (max-width: 400px) {
    .ts-promo .small {
        font-size: .85rem;
    }
}

