/* The public pages (Views/Landing/_MarketingLayout): moved out of the layout on 1 Nov 2026 (#506) so browsers cache it; asp-append-version renames it on every change. */
:root {
    --utlc-green:  #39d98a;
    --utlc-green2: #22c55e;
    --utlc-dark:   #0a0f0d;
    --utlc-dark2:  #111827;
    --utlc-gold:   #fbbf24;
}

*, *::before, *::after { scroll-behavior: smooth; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #fff; overflow-x: hidden; margin: 0; }

/* ── Language toggle ────────────────────────────────── */
body[data-lang="en"] .th-t { display: none !important; }
body[data-lang="th"] .en-t { display: none !important; }

.lang-btn {
    display: flex; align-items: center; gap: 0;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px; overflow: hidden; font-size: .78rem; font-weight: 700;
}
.lang-btn span {
    padding: 5px 12px; cursor: pointer; color: rgba(255,255,255,.5);
    transition: background .15s, color .15s;
}
.lang-btn span.active { background: var(--utlc-green); color: #0a0f0d; }
.lang-btn span:hover:not(.active) { color: #fff; }

/* ── Navbar ─────────────────────────────────────────── */
.utlc-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: background .3s, padding .3s, box-shadow .3s;
}
.utlc-nav.scrolled {
    background: rgba(10,15,13,.96);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.4);
    backdrop-filter: blur(8px);
}
.utlc-nav.static-nav { background: rgba(10,15,13,.96); padding: 10px 0; }
.utlc-logo { font-size: 1.45rem; font-weight: 900; letter-spacing: -1px; color: #fff; text-decoration: none; }
.utlc-logo span { color: var(--utlc-green); }

/* ── Buttons ─────────────────────────────────────────── */
.btn-utlc {
    background: var(--utlc-green); color: #0a0f0d; font-weight: 800; font-size: .95rem;
    padding: 13px 32px; border-radius: 100px; border: none; text-decoration: none;
    transition: transform .15s, box-shadow .15s; display: inline-block;
}
.btn-utlc:hover { background: #4aeea0; color: #0a0f0d; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(57,217,138,.35); }
.btn-utlc-outline {
    background: transparent; color: #fff; font-weight: 700; font-size: .95rem;
    padding: 12px 30px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.45);
    text-decoration: none; transition: border-color .15s, color .15s; display: inline-block;
}
.btn-utlc-outline:hover { border-color: #fff; color: #fff; }

/* ── Section helpers ─────────────────────────────────── */
.section-tag      { font-size: .68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--utlc-green); margin-bottom: .6rem; }
.section-tag-dark { font-size: .68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #9ca3af; margin-bottom: .6rem; }
.section-title    { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.15; letter-spacing: -1px; }

/* ── HERO ─────────────────────────────────────────────── */
.hero { min-height: 100vh; background: url('/images/utlc-hero.jpg') center 30% / cover no-repeat; position: relative; display: flex; align-items: center; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(10,15,13,.65) 0%, rgba(10,15,13,.82) 55%, rgba(10,15,13,.96) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block; border: 1.5px solid var(--utlc-green); color: var(--utlc-green);
    font-size: .7rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
    padding: 5px 16px; border-radius: 100px; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 900; line-height: 1.1; color: #fff; letter-spacing: -2px; }
.hero h1 .accent { color: var(--utlc-green); }
.hero-en-line { font-size: .9rem; color: rgba(255,255,255,.38); font-style: italic; letter-spacing: .5px; margin-top: .5rem; margin-bottom: 1.2rem; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.65); max-width: 560px; line-height: 1.85; }
.hero-framework { font-size: .95rem; color: var(--utlc-green); font-weight: 800; letter-spacing: .5px; margin-top: 1.6rem; }
.scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.3); font-size: .65rem; letter-spacing: 2px;
    text-transform: uppercase; text-align: center; z-index: 1;
    animation: bounce 2.2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ── Inner-page hero (no photo — dark gradient) ──────── */
.inner-hero {
    background: radial-gradient(circle at 20% 20%, rgba(57,217,138,.10) 0%, transparent 55%), var(--utlc-dark);
    padding: 168px 0 84px; position: relative;
}

/* ── Stats ──────────────────────────────────────────── */
.stats-bar { background: var(--utlc-dark2); padding: 32px 0; }
.stat-num   { font-size: 2rem; font-weight: 900; color: var(--utlc-green); line-height: 1; }
.stat-label { font-size: .72rem; color: rgba(255,255,255,.45); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 5px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.1); align-self: stretch; margin: 4px 0; }

/* ── PROBLEM / FRAMING ─────────────────────────────── */
.framing-section { background: #fff; padding: 100px 0; }
.framing-lockup { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.3; color: #111; }
.framing-lockup .g { color: var(--utlc-green2); }
.entity-sentence { font-size: .85rem; color: #6b7280; line-height: 1.8; border-left: 3px solid var(--utlc-green2); padding-left: 18px; margin-top: 8px; }

/* ── WHY UTLC / PILLARS ───────────────────────────────── */
.why-section { background: #f9fafb; padding: 100px 0; }
.why-card { background: #fff; border-radius: 20px; border: 1.5px solid #e5e7eb; padding: 40px 28px; height: 100%; transition: border-color .2s, box-shadow .2s, transform .2s; }
.why-card:hover { border-color: var(--utlc-green2); box-shadow: 0 16px 48px rgba(0,0,0,.08); transform: translateY(-4px); }
.why-num { font-size: 3.5rem; font-weight: 900; line-height: 1; color: #f0fdf4; letter-spacing: -2px; margin-bottom: 12px; }
.why-card h5 { font-weight: 800; font-size: 1.05rem; color: #111; margin-bottom: 4px; }
.why-sub-en { font-size: .76rem; font-weight: 600; color: var(--utlc-green2); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }
.why-card p { color: #4b5563; font-size: .89rem; line-height: 1.8; margin: 0; }

/* ── INCLUDED ───────────────────────────────────────── */
.included-section { background: #f0fdf4; padding: 72px 0 80px; }
.inc-card { background: #fff; border-radius: 18px; padding: 28px 24px; height: 100%; border: 1.5px solid #e5e7eb; transition: box-shadow .2s, border-color .2s; }
.inc-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); border-color: var(--utlc-green2); }
.inc-icon { font-size: 1.8rem; margin-bottom: 14px; }
.inc-card h6 { font-weight: 800; color: #111; font-size: .97rem; margin-bottom: 8px; }
.inc-card p { font-size: .87rem; color: #4b5563; line-height: 1.78; margin: 0; }

/* ── PHILOSOPHY ─────────────────────────────────────── */
.philosophy-section { background: var(--utlc-dark); padding: 100px 0; position: relative; overflow: hidden; }
.philosophy-section::before {
    content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(57,217,138,.06) 0%, transparent 70%);
    top: -200px; left: -200px; pointer-events: none;
}
.phil-line { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -1.5px; color: rgba(255,255,255,.18); }
.phil-line.bright { color: #fff; }
.phil-line .g { color: var(--utlc-green); }
.phil-divider { width: 60px; height: 3px; background: var(--utlc-green); border-radius: 2px; margin: 32px 0; }
.phil-en { font-size: .92rem; color: rgba(255,255,255,.35); font-style: italic; margin-top: 6px; }

/* ── SPORTS ─────────────────────────────────────────── */
.sports-section { background: #f9fafb; padding: 100px 0; }
.sport-card { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 20px; padding: 36px 20px; text-align: center; height: 100%; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sport-card:hover { border-color: var(--utlc-green2); box-shadow: 0 12px 36px rgba(0,0,0,.09); transform: translateY(-5px); }
/* the UTLC sport icons (#275; the app's stylesheet is not on this page) */
.si { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.si::before { content: ""; display: block; width: 100%; height: 100%; background-color: currentColor; -webkit-mask: var(--si-img) center / contain no-repeat; mask: var(--si-img) center / contain no-repeat; }
.si-run { --si-img: url("/img/sport/run.svg?v=1"); } .si-bike { --si-img: url("/img/sport/bike.svg?v=1"); } .si-swim { --si-img: url("/img/sport/swim.svg?v=1"); } .si-other { --si-img: url("/img/sport/other.svg?v=1"); }
.sport-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--utlc-dark2); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 18px; }
.sport-card h6 { font-weight: 800; font-size: 1rem; color: #111; margin-bottom: 4px; }
.sport-card small { font-size: .78rem; color: #9ca3af; }

/* ── APPROACH ───────────────────────────────────────── */
.approach-section { background: var(--utlc-dark2); padding: 100px 0; }
.approach-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 36px 28px; height: 100%; transition: border-color .2s, transform .2s; }
.approach-card:hover { border-color: rgba(57,217,138,.4); transform: translateY(-4px); }
.approach-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.approach-card h5 { font-weight: 800; color: #fff; font-size: 1.1rem; }
.approach-card p  { color: rgba(255,255,255,.56); font-size: .92rem; line-height: 1.78; }
.tag-pill { font-size: .7rem; padding: 4px 10px; border-radius: 100px; font-weight: 600; }
.approach-card a.card-link { color: var(--utlc-green); font-weight: 700; font-size: .85rem; text-decoration: none; }
.approach-card a.card-link:hover { text-decoration: underline; }

/* ── TICKER ─────────────────────────────────────────── */
.ticker-wrap { background: var(--utlc-green); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 36s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item { display: inline-block; font-weight: 800; color: #0a0f0d; font-size: .82rem; letter-spacing: 2.5px; text-transform: uppercase; padding: 0 36px; }
.ticker-sep { color: rgba(0,0,0,.25); padding: 0 4px; }

/* ── QUOTE ──────────────────────────────────────────── */
.quote-section { background: #fff; padding: 100px 0; }
.quote-mark { font-size: 7rem; line-height: .7; color: #d1fae5; font-family: Georgia, serif; font-weight: 900; user-select: none; }
.quote-body { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 900; color: #111; line-height: 1.25; letter-spacing: -1px; }
.quote-body .g { color: var(--utlc-green2); }
.quote-en-text { font-size: .93rem; color: #9ca3af; font-style: italic; margin-top: 14px; }
.quote-sig { font-size: .78rem; font-weight: 700; color: #d1d5db; letter-spacing: 2px; text-transform: uppercase; margin-top: 28px; }
.quote-divider { width: 40px; height: 2px; background: #e5e7eb; border-radius: 2px; margin: 40px auto; }
.quote-secondary { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; color: #6b7280; line-height: 1.4; font-style: italic; }
.quote-secondary .g { color: var(--utlc-green2); font-style: normal; }

/* ── SPORT IS LIFESTYLE ─────────────────────────────── */
.lifestyle-section { background: var(--utlc-dark2); padding: 80px 0; overflow: hidden; position: relative; }
.lifestyle-section::after {
    content: 'SPORT IS LIFESTYLE';
    position: absolute; bottom: -20px; left: 0; right: 0;
    font-size: clamp(4rem, 10vw, 9rem); font-weight: 900; color: rgba(255,255,255,.03);
    letter-spacing: -2px; text-align: center; white-space: nowrap; pointer-events: none;
}
.lifestyle-word { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.15; letter-spacing: -1.5px; }

/* ── CONTACT ────────────────────────────────────────── */
.contact-section { background: var(--utlc-dark); padding: 100px 0; position: relative; overflow: hidden; }
.contact-section::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(57,217,138,.08) 0%, transparent 70%);
    top: -200px; right: -100px; pointer-events: none;
}
.social-btn { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px 24px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, transform .15s; }
.social-btn:hover { background: rgba(255,255,255,.1); border-color: var(--utlc-green); color: #fff; transform: translateY(-2px); }
.s-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

/* ── ZONE TABLE (Lactate Testing page) ───────────────── */
.zone-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); }
.zone-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.zone-table th { background: rgba(255,255,255,.04); color: rgba(255,255,255,.5); font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); }
.zone-table td { padding: 14px 18px; color: rgba(255,255,255,.75); font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.zone-table tr:last-child td { border-bottom: none; }
.zone-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; }
.zone-curve-svg { width: 100%; height: auto; }

/* ── SEO / prose inner pages ──────────────────────────── */
.prose-section { background: #fff; padding: 80px 0; }
.prose-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; letter-spacing: -.5px; color: #111; margin-top: 2.6rem; margin-bottom: 1rem; }
.prose-section h2:first-child { margin-top: 0; }
.prose-section p { font-size: 1rem; color: #4b5563; line-height: 1.9; margin-bottom: 1.2rem; }
.prose-section ul { color: #4b5563; font-size: .97rem; line-height: 1.9; }
.prose-note { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 20px 24px; font-size: .9rem; color: #166534; margin: 1.6rem 0; }

/* ── CONTENT CLUSTER GRID ─────────────────────────────── */
.cluster-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 32px 28px; height: 100%; }
.cluster-card h4 { color: var(--utlc-green); font-weight: 900; font-size: 1.3rem; letter-spacing: -.5px; margin-bottom: 4px; }
.cluster-card .cluster-sub { color: rgba(255,255,255,.4); font-size: .8rem; margin-bottom: 18px; }
.cluster-card ul { list-style: none; padding: 0; margin: 0; }
.cluster-card li { color: rgba(255,255,255,.7); font-size: .9rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.cluster-card li:last-child { border-bottom: none; }

/* ── Social feed (1 Nov 2026, #504) ─────────────────────── */
.social-section { background: #f9fafb; padding: 80px 0; }
.social-follow { padding: 8px 16px !important; font-size: .83rem !important; color: #111 !important; border-color: #d1d5db !important; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.social-card { display: block; position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #111827; color: #fff; text-decoration: none; }
.social-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.social-card:hover img { transform: scale(1.04); }
.social-card__text { padding: 22px; font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.85); white-space: pre-wrap; }
.social-card__meta { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; align-items: center; background: rgba(10,15,13,.72); border-radius: 100px; padding: 4px 10px; font-size: .72rem; color: #fff; }
.social-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: .8rem; line-height: 1.5; color: #fff; background: linear-gradient(to top, rgba(10,15,13,.92), rgba(10,15,13,0)); }
.social-cat { color: var(--utlc-green2); font-weight: 900; font-size: 1rem; letter-spacing: 1px; margin-bottom: 10px; }
.social-empty { color: #9ca3af; font-size: .85rem; }
.social-mini { display: flex; gap: 10px; align-items: center; text-decoration: none; color: #111; font-size: .85rem; line-height: 1.5; padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.social-mini img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }

/* ── Footer ─────────────────────────────────────────── */
.utlc-footer { background: #000; padding: 36px 0; color: rgba(255,255,255,.28); font-size: .82rem; }

@media (max-width: 768px) {
    .hero h1 { letter-spacing: -1px; }
    .stat-divider { display: none; }
    .phil-line { font-size: 1.8rem; }
}
