/* ============================================================
   Teslaelites — Homepage CSS  |  Theme: Dark + Red/Gold
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
    --bg: #060d1a;
    --bg2: #0b1829;
    --accent: #dc2626;
    --accent-alt: #ef4444;
    --gold: #f59e0b;
    --text: #eef2ff;
    --text2: #8ba3c4;
    --text3: #506480;
    --card: rgba(255,255,255,0.04);
    --card-h: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.08);
    --border-a: rgba(220,38,38,0.38);
    --r: 14px;
    --r-sm: 8px;
    --r-lg: 20px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
}

body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; }

.ts-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ts-section { padding: 96px 0; }
.ts-section-sm { padding: 52px 0; }

.ts-label { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-alt); margin-bottom: 14px; }
.ts-title { font-size: clamp(1.85rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 18px; }
.ts-title .grd { background: linear-gradient(135deg, #f87171, var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ts-body { font-size: 1.03rem; color: var(--text2); line-height: 1.8; max-width: 620px; }
.ts-rule { display: block; width: 44px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 2px; margin: 18px 0; }
.ts-center { text-align: center; }
.ts-center .ts-body { margin: 0 auto; }
.ts-center .ts-rule { margin: 18px auto; }

/* ---- Buttons ---- */
.ts-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; }
.ts-btn-blue { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(220,38,38,0.35); }
.ts-btn-blue:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220,38,38,0.48); color: #fff; }
.ts-btn-ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(220,38,38,0.4); }
.ts-btn-ghost:hover { background: rgba(220,38,38,0.09); border-color: var(--accent); transform: translateY(-2px); color: #fff; }
.ts-btn-gold { background: var(--gold); color: #000; font-weight: 800; box-shadow: 0 4px 20px rgba(245,158,11,0.28); }
.ts-btn-gold:hover { background: #fbbf24; transform: translateY(-2px); color: #000; }

/* ============================================================  NAVBAR  */
.ts-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 22px 0; transition: all 0.35s ease; }
.ts-nav.scrolled { background: rgba(6,13,26,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 13px 0; border-bottom: 1px solid var(--border); box-shadow: 0 4px 40px rgba(0,0,0,0.4); }
.ts-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.ts-logo img { height: 36px; width: auto; display: block; }
.ts-nav-links { display: flex; align-items: center; gap: 36px; }
.ts-nav-links a { color: var(--text2); font-size: 0.9rem; font-weight: 600; position: relative; transition: color 0.2s; }
.ts-nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.25s; border-radius: 2px; }
.ts-nav-links a:hover { color: #fff; }
.ts-nav-links a:hover::after { width: 100%; }
.ts-nav-right { display: flex; align-items: center; gap: 12px; }
.ts-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.ts-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.ts-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ts-burger.open span:nth-child(2) { opacity: 0; }
.ts-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ts-mobile-nav { display: none; flex-direction: column; padding: 12px 24px 20px; border-top: 1px solid var(--border); gap: 2px; background: rgba(6,13,26,0.99); }
.ts-mobile-nav.open { display: flex; }
.ts-mobile-nav a { color: var(--text2); padding: 11px 0; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.ts-mobile-nav a:hover { color: #fff; }
.ts-mobile-nav .ts-btn { margin-top: 14px; justify-content: center; }
@media (max-width: 768px) { .ts-nav-links { display: none; } .ts-burger { display: flex; } .ts-nav-right .ts-btn-blue { display: none; } }

/* ============================================================  HERO CAROUSEL  */
/*
   Sizing notes:
   - Height uses 100svh (small viewport height) so mobile browser chrome does
     not push content out of view; 100vh is kept as the fallback above it.
   - The slide is min-height, never fixed height, and the track stretches to
     the tallest slide — so a slide whose copy runs long grows instead of
     being clipped.
   - Type floors are sized for a 320px screen, not a desktop.
*/
.ts-hero {
    position: relative;
    overflow: hidden;
    background: #040b17;
}

/* Sliding track — each slide is one full viewport wide */
.ts-hero-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

/* Individual slide */
.ts-hero-slide {
    position: relative;
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 128px 0 104px;
    overflow: hidden;
}

/* Background image */
.ts-hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover;
    /* Per-slide focal point, set inline on the slide as --focal / --focal-m.
       Tune those two values to reframe a slide; no CSS change needed. */
    background-position: var(--focal, center center);
    transition: transform 8s ease-out; /* subtle Ken Burns */
    z-index: 0;
}
.ts-hero-slide.active .ts-hero-slide-bg {
    transform: scale(1.06);
}

/* Dark overlay */
.ts-hero-slide-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(105deg, rgba(6,13,26,0.90) 0%, rgba(6,13,26,0.70) 55%, rgba(6,13,26,0.40) 100%),
        linear-gradient(to top, rgba(6,13,26,0.80) 0%, transparent 45%);
}

/* Grid pattern overlay */
.ts-hero-slide-grid {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Red accent glow */
.ts-hero-slide-glow {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse 55% 60% at 0% 50%, rgba(220,38,38,0.13) 0%, transparent 70%);
}

/* Text content */
.ts-hero-slide-content {
    position: relative; z-index: 3;
    max-width: 780px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s 0.4s ease, transform 0.7s 0.4s ease;
}
.ts-hero-slide.active .ts-hero-slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Pill badge */
.ts-hero-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(220,38,38,0.09);
    border: 1px solid rgba(220,38,38,0.26);
    color: var(--accent-alt);
    font-size: clamp(0.66rem, 2.1vw, 0.78rem);
    font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 7px 16px; border-radius: 50px;
    margin-bottom: clamp(16px, 3.4vw, 28px);
    max-width: 100%;
}
.ts-hero-pill::before {
    content: ''; width: 7px; height: 7px; flex-shrink: 0;
    background: var(--accent-alt); border-radius: 50%;
    animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.55); } }

.ts-hero-slide h1 {
    /* 1.85rem floor keeps a three-line headline inside a 320px screen */
    font-size: clamp(1.85rem, 6.4vw, 4.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: clamp(14px, 2.6vw, 24px);
    color: #fff;
    overflow-wrap: break-word;
    hyphens: auto;
}
.ts-hero-slide h1 .grd {
    background: linear-gradient(135deg, #f87171, var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ts-hero-sub {
    font-size: clamp(0.92rem, 2.5vw, 1.08rem);
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: clamp(24px, 4.2vw, 40px);
}
.ts-hero-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Prev / Next arrows */
.ts-hero-arrow {
    position: absolute; top: 50%; z-index: 10;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.25s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ts-hero-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.08); }
.ts-hero-arrow.prev { left: 28px; }
.ts-hero-arrow.next { right: 28px; }

/* Dots */
.ts-hero-dots {
    position: absolute; bottom: 34px; left: 50%;
    transform: translateX(-50%); z-index: 10;
    display: flex; align-items: center; gap: 10px;
}
.ts-hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none; padding: 0; cursor: pointer;
    transition: background 0.3s, width 0.35s, border-radius 0.35s;
}
.ts-hero-dot.active { background: var(--accent); width: 28px; border-radius: 4px; }

/* Progress bar */
.ts-hero-progress {
    position: absolute; bottom: 0; left: 0; z-index: 11;
    height: 3px; background: var(--accent); width: 0%;
}

/* Stats strip (below hero) */
.ts-hero-stats-strip { background: #07111f; border-bottom: 1px solid var(--border); }
.ts-hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.ts-hero-stat {
    padding: 32px 24px;
    border-right: 1px solid var(--border);
    text-align: center;
}
.ts-hero-stat:last-child { border-right: none; }
.ts-hero-stat-num { font-size: clamp(1.4rem, 4.4vw, 2rem); font-weight: 900; color: #fff; margin-bottom: 4px; letter-spacing: -0.03em; }
.ts-hero-stat-num span { color: var(--accent-alt); }
.ts-hero-stat-label { font-size: clamp(0.64rem, 1.9vw, 0.74rem); color: var(--text3); text-transform: uppercase; letter-spacing: 1.2px; }

/* ---------------- Hero responsive ---------------- */

/* Laptops — pull the arrows in before they collide with the container */
@media (max-width: 1100px) {
    .ts-hero-arrow.prev { left: 16px; }
    .ts-hero-arrow.next { right: 16px; }
}

/* Tablets */
@media (max-width: 900px) {
    .ts-hero-slide { padding: 116px 0 96px; }
    .ts-hero-slide-content { max-width: 100%; }
    .ts-hero-slide-overlay {
        background:
            linear-gradient(105deg, rgba(6,13,26,0.93) 0%, rgba(6,13,26,0.80) 60%, rgba(6,13,26,0.58) 100%),
            linear-gradient(to top, rgba(6,13,26,0.86) 0%, transparent 50%);
    }
    .ts-hero-stats-inner { grid-template-columns: repeat(4, 1fr); }
    .ts-hero-stat { padding: 26px 14px; }
}

/* Phones — arrows move off the vertical centre so they never sit on the CTAs */
@media (max-width: 768px) {
    .ts-hero-slide {
        padding: 104px 0 104px;
        min-height: 100vh;
        min-height: 100svh;
    }
    .ts-hero-arrow {
        width: 38px; height: 38px; font-size: 0.85rem;
        top: auto; bottom: 26px;
        transform: none;
    }
    .ts-hero-arrow:hover { transform: scale(1.06); }
    .ts-hero-arrow.prev { left: 18px; }
    .ts-hero-arrow.next { left: 64px; right: auto; }
    .ts-hero-dots { left: auto; right: 20px; bottom: 38px; transform: none; }
    /* Portrait crops the sides hard (3:2 source in a ~0.5 viewport), so each
       slide gets its own mobile focal point rather than a blind centre crop. */
    .ts-hero-slide-bg { background-position: var(--focal-m, var(--focal, center 42%)); }
    /* Let headlines reflow naturally instead of honouring desktop line breaks */
    .ts-hero-slide h1 .ts-br { display: none; }
    .ts-hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .ts-hero-stat:nth-child(2) { border-right: none; }
    .ts-hero-stat:nth-child(1),
    .ts-hero-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* Small phones */
@media (max-width: 560px) {
    .ts-hero-slide { padding: 96px 0 100px; }
    .ts-hero-sub { margin-bottom: 22px; }
    .ts-hero-btns { gap: 10px; }
    .ts-hero-btns .ts-btn { flex: 1 1 100%; justify-content: center; padding: 13px 20px; }
}

/* Very small phones */
@media (max-width: 400px) {
    .ts-hero-slide { padding: 88px 0 96px; }
    .ts-hero-pill { font-size: 0.62rem; letter-spacing: 0.9px; padding: 6px 13px; }
    .ts-hero-stat { padding: 20px 10px; }
}

/* Landscape phones — very little vertical room, so drop the min-height rule
   and let the slide be only as tall as its content needs. */
@media (max-height: 560px) and (orientation: landscape) {
    .ts-hero-slide {
        min-height: 0;
        padding: 96px 0 78px;
    }
    .ts-hero-slide h1 { font-size: clamp(1.6rem, 4.4vh, 2.4rem); margin-bottom: 10px; }
    .ts-hero-sub { font-size: 0.86rem; line-height: 1.6; margin-bottom: 18px; }
    .ts-hero-pill { margin-bottom: 12px; }
    .ts-hero-dots { bottom: 14px; }
    .ts-hero-arrow { bottom: 12px; width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .ts-hero-track { transition: none; }
    .ts-hero-slide.active .ts-hero-slide-bg { transform: none; }
    .ts-hero-slide-content { transition: none; opacity: 1; transform: none; }
    .ts-hero-pill::before { animation: none; }
}

/* ============================================================  TRUST STRIP  */
.ts-trust { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ts-trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.ts-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; font-weight: 600; color: var(--text2); }
.ts-trust-item i { color: var(--accent-alt); font-size: 1rem; }

/* ============================================================  ABOUT (Homepage)  */
.ts-about-bg { background: var(--bg2); }
.ts-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ts-about-img-wrap { position: relative; }
.ts-about-img-main { width: 100%; height: 440px; object-fit: cover; border-radius: var(--r-lg); display: block; border: 1px solid var(--border); }
.ts-about-badge { position: absolute; bottom: -20px; right: -16px; background: linear-gradient(135deg, var(--accent), #7f1d1d); color: #fff; padding: 20px 24px; border-radius: var(--r); box-shadow: 0 12px 40px rgba(220,38,38,0.35); }
.ts-about-badge strong { display: block; font-size: 1.9rem; font-weight: 900; }
.ts-about-badge span { font-size: 0.78rem; opacity: 0.85; }
.ts-about-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.ts-about-point { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm); transition: border-color 0.25s; }
.ts-about-point:hover { border-color: var(--border-a); }
.ts-about-point-icon { width: 38px; height: 38px; background: rgba(220,38,38,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent-alt); font-size: 1rem; flex-shrink: 0; }
.ts-about-point h5 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.ts-about-point p { font-size: 0.82rem; color: var(--text2); }
@media (max-width: 768px) { .ts-about-grid { grid-template-columns: 1fr; gap: 48px; } .ts-about-img-main { height: 300px; } .ts-about-badge { right: 16px; } }

/* ============================================================  FEATURES  */
.ts-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ts-feat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 22px; text-align: center; transition: all 0.3s; }
.ts-feat-card:hover { background: var(--card-h); border-color: var(--border-a); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(220,38,38,0.1); }
.ts-feat-icon { width: 62px; height: 62px; background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(220,38,38,0.04)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.4rem; color: var(--accent-alt); }
.ts-feat-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ts-feat-card p { font-size: 0.85rem; color: var(--text2); }
@media (max-width: 900px) { .ts-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ts-feat-grid { grid-template-columns: 1fr; } }

/* ============================================================  HOW IT WORKS  */
.ts-how-bg { background: var(--bg2); }
.ts-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 60px; position: relative; }
.ts-steps::before { content: ''; position: absolute; top: 44px; left: calc(16.67% + 8px); right: calc(16.67% + 8px); height: 2px; background: linear-gradient(90deg, var(--accent), var(--gold)); opacity: 0.45; }
.ts-step { text-align: center; position: relative; z-index: 1; }
.ts-step-circle { width: 88px; height: 88px; background: var(--bg2); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 1.8rem; font-weight: 900; color: var(--accent-alt); position: relative; }
.ts-step-circle::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(220,38,38,0.1), transparent 70%); }
.ts-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.ts-step p { font-size: 0.875rem; color: var(--text2); }
@media (max-width: 640px) { .ts-steps { grid-template-columns: 1fr; } .ts-steps::before { display: none; } }

/* ============================================================  MARKETS  */
.ts-markets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.ts-market-card { position: relative; border-radius: var(--r); overflow: hidden; height: 250px; cursor: pointer; }
.ts-market-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.45); transition: transform 0.5s ease, filter 0.4s; }
.ts-market-card:hover img { transform: scale(1.06); filter: brightness(0.3); }
.ts-market-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,13,26,0.92) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.ts-market-icon { width: 40px; height: 40px; background: rgba(220,38,38,0.85); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: #fff; margin-bottom: 10px; }
.ts-market-overlay h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; }
.ts-market-overlay p { font-size: 0.77rem; color: rgba(255,255,255,0.5); }
@media (max-width: 768px) { .ts-markets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .ts-markets-grid { grid-template-columns: 1fr; } }

/* ============================================================  PLANS  */
.ts-plans-bg { background: var(--bg2); }
.ts-plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.ts-plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 22px; position: relative; overflow: hidden; transition: all 0.35s; display: flex; flex-direction: column; }
.ts-plan::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); opacity: 0; transition: opacity 0.35s; }
.ts-plan:hover { border-color: var(--border-a); background: rgba(220,38,38,0.05); transform: translateY(-6px); box-shadow: 0 20px 56px rgba(220,38,38,0.13); }
.ts-plan:hover::before { opacity: 1; }
.ts-plan.featured { background: linear-gradient(160deg, rgba(220,38,38,0.1), rgba(220,38,38,0.02)); border-color: rgba(220,38,38,0.38); }
.ts-plan.featured::before { opacity: 1; }
.ts-plan-tag { display: inline-block; background: rgba(245,158,11,0.1); color: var(--gold); border: 1px solid rgba(245,158,11,0.26); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; padding: 4px 10px; border-radius: 50px; margin-bottom: 16px; width: fit-content; }
.ts-plan.featured .ts-plan-tag { background: rgba(220,38,38,0.1); color: var(--accent-alt); border-color: rgba(220,38,38,0.28); }
.ts-plan h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 6px; }
.ts-plan-range { font-size: 0.82rem; color: var(--accent-alt); font-weight: 600; margin-bottom: 10px; }
.ts-plan-desc { font-size: 0.84rem; color: var(--text2); line-height: 1.65; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.ts-plan-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.ts-plan-perk { display: flex; align-items: flex-start; gap: 10px; font-size: 0.83rem; color: var(--text2); }
.ts-plan-perk i { color: var(--accent-alt); margin-top: 2px; font-size: 0.74rem; }
.ts-plan-cta { display: block; text-align: center; padding: 12px; border-radius: 50px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.87rem; transition: all 0.25s; margin-top: auto; }
.ts-plan-cta:hover { background: #b91c1c; color: #fff; transform: translateY(-2px); }
.ts-plan.featured .ts-plan-cta { background: linear-gradient(135deg, var(--accent), #7f1d1d); }
@media (max-width: 1000px) { .ts-plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ts-plans-grid { grid-template-columns: 1fr; } }

/* ============================================================  WHY CHOOSE US  */
.ts-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ts-why-img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--border); display: block; }
.ts-why-points { display: flex; flex-direction: column; gap: 18px; }
.ts-why-point { display: flex; gap: 18px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); transition: border-color 0.25s, background 0.25s; }
.ts-why-point:hover { border-color: var(--border-a); background: var(--card-h); }
.ts-why-point-icon { width: 46px; height: 46px; background: linear-gradient(135deg, rgba(220,38,38,0.18), rgba(220,38,38,0.04)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--accent-alt); flex-shrink: 0; }
.ts-why-point h5 { font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.ts-why-point p { font-size: 0.85rem; color: var(--text2); }
@media (max-width: 768px) { .ts-why-grid { grid-template-columns: 1fr; } .ts-why-img { height: 280px; } }

/* ============================================================  TESTIMONIALS  */
.ts-testi-bg { background: var(--bg2); }
.ts-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.ts-testi { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; transition: all 0.3s; }
.ts-testi:hover { border-color: var(--border-a); transform: translateY(-4px); box-shadow: 0 16px 44px rgba(220,38,38,0.1); }
.ts-testi-q { display: block; font-size: 3rem; line-height: 1; color: var(--accent-alt); opacity: 0.3; font-family: Georgia, serif; margin-bottom: 14px; }
.ts-testi-text { font-size: 0.9rem; color: var(--text2); line-height: 1.78; margin-bottom: 18px; }
.ts-testi-stars { display: flex; gap: 3px; color: var(--gold); font-size: 0.82rem; margin-bottom: 18px; }
.ts-testi-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.ts-testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ts-testi-author h5 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.ts-testi-author span { font-size: 0.76rem; color: var(--text3); }
@media (max-width: 840px) { .ts-testi-grid { grid-template-columns: 1fr; } }

/* ============================================================  FAQ  */
.ts-faq-wrap { max-width: 780px; margin: 50px auto 0; }
.ts-faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; transition: border-color 0.25s; }
.ts-faq-item.active { border-color: var(--border-a); }
.ts-faq-q { width: 100%; background: var(--card); border: none; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; color: var(--text); font-size: 0.93rem; font-weight: 600; text-align: left; transition: background 0.2s; font-family: var(--font); }
.ts-faq-q:hover { background: var(--card-h); }
.ts-faq-toggle { width: 28px; height: 28px; background: rgba(220,38,38,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-alt); font-size: 0.78rem; transition: transform 0.3s, background 0.2s; }
.ts-faq-item.active .ts-faq-toggle { transform: rotate(45deg); background: rgba(220,38,38,0.2); }
.ts-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.ts-faq-item.active .ts-faq-a { max-height: 300px; }
.ts-faq-a-inner { padding: 0 22px 20px; font-size: 0.9rem; color: var(--text2); line-height: 1.78; }

/* ============================================================  CTA BANNER  */
.ts-cta-banner { background: linear-gradient(135deg, #1a0505 0%, #330808 45%, #2d0808 100%); position: relative; overflow: hidden; }
.ts-cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 90% at 100% 50%, rgba(245,158,11,0.1) 0%, transparent 60%), radial-gradient(ellipse 45% 80% at 0% 50%, rgba(220,38,38,0.18) 0%, transparent 60%); }
.ts-cta-inner { position: relative; z-index: 1; text-align: center; padding: 90px 24px; }
.ts-cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -0.025em; margin-bottom: 16px; }
.ts-cta-inner p { font-size: 1.03rem; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 32px; line-height: 1.75; }
.ts-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.ts-cta-note { margin-top: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.38); }

/* ============================================================  FOOTER  */
.ts-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 72px 0 32px; }
.ts-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ts-footer-logo { height: 34px; display: block; margin-bottom: 16px; }
.ts-footer-brand p { font-size: 0.875rem; color: var(--text2); line-height: 1.78; margin-bottom: 14px; }
.ts-footer-addr { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text3); }
.ts-footer-addr i { color: var(--accent-alt); margin-top: 3px; }
.ts-footer-col h4 { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text3); margin-bottom: 20px; }
.ts-footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.ts-footer-col a { font-size: 0.875rem; color: var(--text2); transition: color 0.2s; }
.ts-footer-col a:hover { color: #fff; }
.ts-footer-bottom { padding-top: 26px; border-top: 1px solid var(--border); text-align: center; font-size: 0.8rem; color: var(--text3); }
@media (max-width: 860px) { .ts-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .ts-footer-grid { grid-template-columns: 1fr; } }

/* ============================================================  UTILS  */
.ts-scroll-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--accent); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(10px); transition: all 0.3s; z-index: 998; font-size: 0.95rem; box-shadow: 0 4px 20px rgba(220,38,38,0.4); }
.ts-scroll-top.show { opacity: 1; transform: translateY(0); }
.ts-scroll-top:hover { background: #b91c1c; transform: translateY(-2px); }
.ts-preloader { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s; }
.ts-preloader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.ts-preloader-dot { width: 50px; height: 50px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================  ABOUT PAGE  */
.ts-page-banner { padding: 160px 0 80px; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(220,38,38,0.13) 0%, transparent 65%), var(--bg); position: relative; overflow: hidden; }
.ts-page-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 64px 64px; }
.ts-page-banner-inner { position: relative; z-index: 1; }
.ts-page-banner h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 14px; }
.ts-page-banner p { font-size: 1.05rem; color: var(--text2); }
.ts-about-content-bg { background: var(--bg2); }
.ts-about-content-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
.ts-about-text-block { display: flex; flex-direction: column; gap: 28px; }
.ts-about-section h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; color: #fff; }
.ts-about-section p { font-size: 0.92rem; color: var(--text2); line-height: 1.78; }
.ts-about-img-stack { position: sticky; top: 100px; }
.ts-about-stack-img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border); display: block; margin-bottom: 16px; height: 290px; object-fit: cover; }
.ts-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.ts-mission-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 28px; transition: all 0.3s; }
.ts-mission-card:hover { border-color: var(--border-a); transform: translateY(-4px); background: var(--card-h); }
.ts-mission-icon { width: 52px; height: 52px; background: rgba(220,38,38,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--accent-alt); margin-bottom: 18px; }
.ts-mission-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.ts-mission-card p { font-size: 0.88rem; color: var(--text2); line-height: 1.72; }
@media (max-width: 768px) { .ts-about-content-grid { grid-template-columns: 1fr; gap: 40px; } .ts-about-img-stack { position: static; } .ts-mission-grid { grid-template-columns: 1fr; } }

/* ============================================================  CONTACT PAGE  */
.ts-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.ts-contact-info { display: flex; flex-direction: column; gap: 20px; }
.ts-contact-card { display: flex; gap: 18px; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); align-items: flex-start; transition: border-color 0.25s; }
.ts-contact-card:hover { border-color: var(--border-a); }
.ts-contact-card-icon { width: 48px; height: 48px; background: rgba(220,38,38,0.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-alt); flex-shrink: 0; }
.ts-contact-card h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text3); font-weight: 700; margin-bottom: 6px; }
.ts-contact-card p, .ts-contact-card a { font-size: 0.92rem; color: var(--text2); }
.ts-contact-card a:hover { color: var(--accent-alt); }
.ts-contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; }
.ts-contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.ts-contact-form > p { font-size: 0.875rem; color: var(--text2); margin-bottom: 28px; }
.ts-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ts-form-group { margin-bottom: 18px; }
.ts-form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.8px; }
.ts-form-group input, .ts-form-group textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-family: var(--font); font-size: 0.9rem; padding: 13px 16px; transition: border-color 0.25s, background 0.25s; outline: none; }
.ts-form-group input:focus, .ts-form-group textarea:focus { border-color: var(--border-a); background: rgba(220,38,38,0.04); }
.ts-form-group textarea { min-height: 130px; resize: vertical; }
::placeholder { color: var(--text3); }
@media (max-width: 768px) { .ts-contact-grid { grid-template-columns: 1fr; gap: 36px; } .ts-form-row { grid-template-columns: 1fr; } }

/* ============================================================
   IMAGE CAROUSEL
   ============================================================ */
.ts-carousel {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: #040b17;
}
@media (max-width: 768px) { .ts-carousel { height: 440px; } }
@media (max-width: 480px) { .ts-carousel { height: 360px; } }

.ts-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
    will-change: transform;
}

.ts-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}
.ts-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* dark overlay with red gradient bottom */
.ts-carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6,13,26,0.45) 0%,
        rgba(6,13,26,0.3) 40%,
        rgba(6,13,26,0.82) 100%
    );
    pointer-events: none;
}

/* slide label/caption */
.ts-carousel-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 40px 60px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
@media (max-width: 768px) { .ts-carousel-caption { padding: 24px 24px; } }

.ts-carousel-caption-text {}
.ts-carousel-caption-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(220,38,38,0.85);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.ts-carousel-caption h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.ts-carousel-caption p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
}
@media (max-width: 600px) {
    .ts-carousel-caption h3 { font-size: 1.15rem; }
    .ts-carousel-caption p { display: none; }
}

/* prev/next arrows */
.ts-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    backdrop-filter: blur(4px);
}
.ts-carousel-btn:hover { background: var(--accent); border-color: var(--accent); }
.ts-carousel-btn.prev { left: 20px; }
.ts-carousel-btn.next { right: 20px; }
@media (max-width: 480px) {
    .ts-carousel-btn { width: 36px; height: 36px; font-size: 0.85rem; }
    .ts-carousel-btn.prev { left: 10px; }
    .ts-carousel-btn.next { right: 10px; }
}

/* dot indicators */
.ts-carousel-dots {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.ts-carousel-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, width 0.3s;
    border: none;
    padding: 0;
}
.ts-carousel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* progress bar */
.ts-carousel-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 4;
    width: 0%;
    transition: width linear;
}
