﻿/* ================================================================
   TRANSCENDENT VENTURES — Design System 2026
   Black #080808 | Teal #8B5CF6 | Gold #FFB830
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Sora:wght@300;400;600;700;800&display=swap');

/* --- Custom Properties ---------------------------------------- */
:root {
  --bg:         #06060F;
  --bg-2:       #080814;
  --bg-3:       #0C0C1A;
  --teal:       #8B5CF6;
  --teal-dim:   rgba(139,92,246,0.14);
  --teal-glow:  rgba(139,92,246,0.4);
  --gold:       #60A5FA;
  --gold-dim:   rgba(96,165,250,0.14);
  --white:      #FFFFFF;
  --grey:       #CBD5E1;
  --grey-dark:  #3A3A5E;
  --glass:      rgba(255,255,255,0.04);
  --glass-2:    rgba(255,255,255,0.07);
  --glass-b:    rgba(139,92,246,0.18);
  --font-head:  'Space Grotesk', 'Sora', sans-serif;
  --font-body:  'Inter', sans-serif;
  --ease-out:   cubic-bezier(0.16,1,0.3,1);
  --ease-in:    cubic-bezier(0.7,0,0.84,0);
  --nav-h:      72px;
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; background: #06060F; }
body {
  background: #06060F;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

::selection { background: var(--teal); color: var(--bg); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: none; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* --- Custom Cursor -------------------------------------------- */
#tv-cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999;
  mix-blend-mode: normal;
}
#tv-cursor-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s, background .15s;
  box-shadow: 0 0 12px var(--teal), 0 0 24px var(--teal-glow);
}
#tv-cursor-ring {
  position: absolute; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(139,92,246,0.5);
  transform: translate(-50%,-50%);
  transition: all .08s ease-out;
}
body.cursor-hover #tv-cursor-dot { width: 16px; height: 16px; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
body.cursor-hover #tv-cursor-ring { width: 54px; height: 54px; border-color: rgba(96,165,250,0.4); }

/* --- Scroll Progress ------------------------------------------ */
#tv-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  width: 0%; pointer-events: none;
  box-shadow: 0 0 8px var(--teal-glow);
}

/* --- Navigation ----------------------------------------------- */
#tv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: transform .4s var(--ease-out), background .3s ease, backdrop-filter .3s ease;
}
#tv-nav.scrolled {
  background: rgba(6,6,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-b);
}
#tv-nav.hidden { transform: translateY(-100%); }
.nav-logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.03em; display: flex; align-items: center; gap: 0.4rem;
}
.nav-logo span { color: var(--teal); }
.nav-logo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 2px; animation: pulse 2s ease-in-out infinite; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 2rem; }
.nav-links a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--teal); transition: width .3s var(--ease-out); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.6rem 1.5rem; border-radius: 100px;
  background: var(--teal); color: var(--bg);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  transition: box-shadow .25s, transform .25s; white-space: nowrap;
}
.nav-cta:hover { box-shadow: 0 0 24px var(--teal-glow); transform: scale(1.04); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all .3s; border-radius: 2px; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
}
.nav-mobile {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6,6,15,0.98); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em; color: var(--white); transition: color .2s; }
.nav-mobile a:hover { color: var(--teal); }

/* --- Page Transition Wipe ------------------------------------- */
#tv-wipe {
  position: fixed; inset: 0; z-index: 99998; background: var(--teal);
  transform: translateY(-100%); pointer-events: none;
}

/* --- Typography ----------------------------------------------- */
.tv-h1 { font-family: var(--font-head); font-size: clamp(3rem,8vw,7.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; }
.tv-h2 { font-family: var(--font-head); font-size: clamp(2.2rem,5vw,4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.tv-h3 { font-family: var(--font-head); font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.tv-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.tv-body { font-size: clamp(1.05rem,1.8vw,1.2rem); line-height: 1.75; color: #FFFFFF; }
.tv-teal { color: var(--teal); }
.tv-gold { color: var(--gold); }
.tv-white { color: var(--white); }

/* --- Layout --------------------------------------------------- */
.tv-container { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.5rem,5vw,4rem); }
.tv-section { padding: clamp(5rem,10vw,9rem) 0; position: relative; }
.tv-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 3rem; }
.tv-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.tv-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width:1024px) { .tv-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:768px) { .tv-grid-2,.tv-grid-3,.tv-grid-4 { grid-template-columns: 1fr; } }

/* --- Glass Cards ---------------------------------------------- */
.tv-glass {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease-out);
  position: relative; overflow: hidden;
}
.tv-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.tv-glass:hover { border-color: rgba(139,92,246,0.3); box-shadow: 0 0 40px rgba(139,92,246,0.08); transform: translateY(-4px); }
.tv-glass-gold:hover { border-color: rgba(255,184,48,0.3); box-shadow: 0 0 40px rgba(255,184,48,0.08); }

/* --- Buttons -------------------------------------------------- */
.tv-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem; border-radius: 100px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all .25s var(--ease-out); white-space: nowrap;
}
.tv-btn-teal { background: var(--teal); color: var(--bg); }
.tv-btn-teal:hover { box-shadow: 0 0 32px var(--teal-glow); transform: scale(1.04); }
.tv-btn-outline { border: 1.5px solid var(--glass-b); color: var(--white); }
.tv-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.tv-btn-gold { background: var(--gold); color: var(--bg); }
.tv-btn-gold:hover { box-shadow: 0 0 32px rgba(96,165,250,0.4); transform: scale(1.04); }
.tv-btn svg { transition: transform .2s; }
.tv-btn:hover svg { transform: translateX(4px); }

/* --- Noise Overlay -------------------------------------------- */
.tv-noise::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url('/noise.svg'); background-repeat: repeat;
  opacity: 0.04; mix-blend-mode: overlay;
}

/* --- Teal Glow Accent ----------------------------------------- */
.tv-glow-teal { box-shadow: 0 0 60px rgba(139,92,246,0.15), 0 0 120px rgba(139,92,246,0.06); }
.tv-glow-gold { box-shadow: 0 0 60px rgba(255,184,48,0.15), 0 0 120px rgba(255,184,48,0.06); }

/* --- Diagonal Divider ----------------------------------------- */
.tv-divider {
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  margin: -4rem 0;
  padding: 8rem 0;
}
.tv-divider-top { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }

/* --- Scroll Reveal Base --------------------------------------- */
[data-reveal] { opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(0.88); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* --- Footer --------------------------------------------------- */
#tv-footer {
  background: var(--bg-2); border-top: 1px solid var(--glass-b);
  padding: 5rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p { color: var(--grey); font-size: 0.9rem; max-width: 280px; margin-top: 1rem; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.2rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--grey); margin-bottom: 0.7rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-b); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--grey); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-b); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 0.85rem; transition: all .2s; }
.footer-social a:hover { border-color: var(--teal); color: var(--teal); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- WhatsApp Float ------------------------------------------- */
#tv-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 9990;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  animation: wa-float 3s ease-in-out infinite;
}
#tv-wa:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,0.6); animation: none; }
#tv-wa svg { width: 28px; height: 28px; }
#tv-wa-tip {
  position: absolute; right: 66px; background: var(--bg-3); color: var(--white);
  font-size: 0.8rem; font-weight: 600; white-space: nowrap; padding: 6px 14px;
  border-radius: 8px; border: 1px solid var(--glass-b);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  transform: translateX(6px);
}
#tv-wa-tip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--bg-3); }
#tv-wa:hover #tv-wa-tip { opacity: 1; transform: translateX(0); }
#tv-wa::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,211,102,0.4); animation: wa-ring 2.2s ease-out 1.5s infinite; }
@keyframes wa-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.55); opacity: 0; } }

/* --- Animations ----------------------------------------------- */
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes aurora {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
@keyframes count-flash { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- Hero Typewriter ------------------------------------------ */
.tv-typewriter { position: relative; }
.tv-typewriter-cursor { display: inline-block; width: 3px; height: 1em; background: var(--teal); margin-left: 4px; vertical-align: middle; animation: blink .7s step-end infinite; }

/* --- Teal Text Gradient --------------------------------------- */
.tv-teal-grad {
  background: linear-gradient(135deg, var(--teal) 0%, #00C9A7 50%, var(--gold) 100%);
  background-size: 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* --- Stats ---------------------------------------------------- */
.tv-stat-num {
  font-family: var(--font-head); font-size: clamp(2.5rem,6vw,5rem);
  font-weight: 700; letter-spacing: -0.04em; color: var(--teal);
  display: block; line-height: 1;
}
.tv-stat-label { font-size: 0.8rem; color: var(--grey); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; }

/* --- Tag chips ------------------------------------------------ */
.tv-tag {
  display: inline-flex; align-items: center;
  padding: 0.35rem 1rem; border-radius: 100px;
  border: 1px solid var(--glass-b);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--grey); background: var(--glass);
  transition: all .2s;
}
.tv-tag:hover, .tv-tag.active { border-color: var(--teal); color: var(--teal); background: var(--teal-dim); }

/* --- Horizontal Scroll Track ---------------------------------- */
.tv-hscroll-track {
  display: flex; gap: 2rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 1rem;
}
.tv-hscroll-track::-webkit-scrollbar { display: none; }
.tv-hscroll-item { flex: 0 0 min(85vw, 420px); scroll-snap-align: start; }

/* --- 3D Card (CSS) ------------------------------------------- */
.tv-3d-wrapper { perspective: 1200px; }
.tv-3d-card {
  transform-style: preserve-3d;
  transition: transform .1s ease-out;
  border-radius: 20px;
}
.tv-3d-face, .tv-3d-back {
  position: absolute; inset: 0; border-radius: inherit;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.tv-3d-back { transform: rotateY(180deg); }
.tv-card-flip { transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.tv-card-flip.flipped { transform: rotateY(180deg); }

/* --- Floating Input ------------------------------------------- */
.tv-field { position: relative; margin-bottom: 1.5rem; }
.tv-field input, .tv-field textarea, .tv-field select {
  width: 100%; background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 12px; color: var(--white); font: inherit; font-size: 0.95rem;
  padding: 1.2rem 1rem 0.6rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.tv-field input:focus, .tv-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); }
.tv-field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 0.85rem; color: var(--grey); pointer-events: none;
  transition: all .2s var(--ease-out);
}
.tv-field textarea ~ label { top: 1.2rem; transform: none; }
.tv-field input:focus ~ label, .tv-field input:not(:placeholder-shown) ~ label,
.tv-field textarea:focus ~ label, .tv-field textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem; transform: none; font-size: 0.7rem; color: var(--teal); letter-spacing: 0.05em;
}
.tv-field input::placeholder, .tv-field textarea::placeholder { opacity: 0; }
.tv-field textarea { min-height: 120px; resize: vertical; padding-top: 1.4rem; }

/* --- Scroll indicator ----------------------------------------- */
.tv-scroll-hint {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey);
}
.tv-scroll-hint span { width: 30px; height: 1px; background: var(--grey); }

/* --- Section Header ------------------------------------------- */
.tv-section-header { margin-bottom: clamp(3rem,6vw,5rem); }
.tv-section-header .tv-label { margin-bottom: 1rem; display: block; }

/* --- AI Demo -------------------------------------------------- */
.tv-ai-output {
  background: var(--glass); border: 1px solid var(--glass-b); border-radius: 16px;
  padding: 2rem; min-height: 180px;
  font-family: var(--font-body); font-size: 0.95rem; line-height: 1.8;
  color: var(--white); position: relative; overflow: hidden;
}
.tv-ai-thinking { display: flex; gap: 6px; align-items: center; }
.tv-ai-thinking span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse .8s ease-in-out infinite; }
.tv-ai-thinking span:nth-child(2) { animation-delay: .2s; }
.tv-ai-thinking span:nth-child(3) { animation-delay: .4s; }

/* --- Blog Card ------------------------------------------------ */
.tv-blog-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; }
.tv-blog-card .tv-tag { align-self: flex-start; }
.tv-blog-card h3 { line-height: 1.3; }
.tv-blog-meta { display: flex; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--glass-b); font-size: 0.8rem; color: var(--grey); }

/* --- Timeline ------------------------------------------------- */
.tv-timeline { position: relative; padding-left: 2rem; }
.tv-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--teal), transparent); }
.tv-timeline-item { position: relative; padding: 0 0 3rem 2rem; }
.tv-timeline-item::before { content: ''; position: absolute; left: -2rem; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px var(--teal-glow); transform: translateX(-50%); }
.tv-timeline-year { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem; }

/* --- Team Card ------------------------------------------------ */
.tv-team-card { position: relative; overflow: hidden; }
.tv-team-card img { width: 100%; height: 320px; object-fit: cover; filter: grayscale(40%) brightness(0.8); transition: filter .4s, transform .5s var(--ease-out); }
.tv-team-card:hover img { filter: grayscale(0%) brightness(0.7); transform: scale(1.04); }
.tv-team-info { padding: 1.5rem; }
.tv-team-bio { position: absolute; inset: 0; background: rgba(8,8,8,0.92); padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transition: opacity .3s; }
.tv-team-card:hover .tv-team-bio { opacity: 1; }

/* --- Particle Canvas ------------------------------------------ */
#tv-particles { position: absolute; inset: 0; z-index: 0; }

/* --- Africa Globe SVG ----------------------------------------- */
.tv-globe-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.tv-globe-wrap svg { animation: float 5s ease-in-out infinite; }
.tv-globe-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.2);
  animation: spin 20s linear infinite;
}
.tv-globe-ring:nth-child(2) { animation-duration: 14s; animation-direction: reverse; border-color: rgba(255,184,48,0.15); }

/* --- Oversize bleed text -------------------------------------- */
.tv-bleed { overflow: visible; white-space: nowrap; }
.tv-bleed-text {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(5rem,15vw,14rem); line-height: 1;
  letter-spacing: -0.05em; opacity: 0.04; user-select: none;
  position: absolute; left: -2vw; pointer-events: none;
}

/* ====== PAGE: HERO =========================================== */
#tv-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--bg); overflow: hidden;
}
#tv-hero-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.tv-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.06);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 2rem;
}
.tv-hero-badge .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse 1.5s ease-in-out infinite; }
.tv-hero-title { margin-bottom: 1.5rem; }
.tv-hero-title .line { display: block; overflow: hidden; }
.tv-hero-title .line span { display: block; transform: translateY(110%); animation: line-up .9s var(--ease-out) forwards; }
.tv-hero-title .line:nth-child(2) span { animation-delay: .1s; }
.tv-hero-title .line:nth-child(3) span { animation-delay: .2s; }
@keyframes line-up { to { transform: translateY(0); } }
.tv-hero-sub { max-width: 560px; margin-bottom: 2.5rem; }
.tv-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.tv-hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.tv-hero-stats .sep { width: 1px; background: var(--glass-b); }

/* ====== PAGE: SERVICES 3D ==================================== */
.tv-service-card {
  padding: 2.5rem; min-height: 380px;
  display: flex; flex-direction: column;
}
.tv-service-card .icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.tv-service-card .icon-teal { background: var(--teal-dim); border: 1px solid rgba(139,92,246,0.2); }
.tv-service-card .icon-gold { background: var(--gold-dim); border: 1px solid rgba(255,184,48,0.2); }
.tv-service-card h3 { margin-bottom: 0.75rem; }
.tv-service-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; flex: 1; }
.tv-service-card .tv-tag { margin-top: 1.5rem; align-self: flex-start; }

/* ====== CONTACT SPLIT ======================================== */
.tv-contact-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.tv-contact-left { background: linear-gradient(135deg, #0a0a0a 0%, #0d1a16 100%); padding: clamp(3rem,8vw,6rem); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.tv-contact-right { padding: clamp(3rem,8vw,6rem); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .tv-contact-split { grid-template-columns: 1fr; } .tv-contact-left { min-height: 400px; } }

/* ====== MISC ================================================= */
.tv-chip { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tv-chip-teal { background: var(--teal-dim); color: var(--teal); }
.tv-chip-gold { background: var(--gold-dim); color: var(--gold); }
.separator { height: 1px; background: linear-gradient(90deg, transparent, var(--glass-b), transparent); margin: 4rem 0; }

/* ================================================================
   ACCESSIBILITY & NAV CONSISTENCY — 2026
   ================================================================ */

/* Skip to main content link (screen readers + keyboard users) */
.skip-nav {
  position: absolute; top: -999px; left: 0; z-index: 99999;
  background: var(--teal); color: var(--bg);
  padding: 0.75rem 1.5rem; border-radius: 0 0 8px 0;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: top .2s;
}
.skip-nav:focus { top: 0; }

/* Focus-visible outline — visible on dark bg for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible { border-radius: 6px; }

/* Active nav link — consistent across all pages via aria-current */
.nav-links a[aria-current="page"] {
  color: var(--white) !important;
  font-style: normal !important;
}
.nav-links a[aria-current="page"]::after {
  width: 100%;
}
.nav-mobile a[aria-current="page"] { color: var(--teal) !important; }

/* Body paragraphs default to near-white for readability */
section p, main p, article p, .tv-section p {
  color: var(--white);
}
/* Secondary / meta text keeps lighter grey */
.tv-body-secondary, figcaption, .tv-blog-meta,
.footer-brand p, .footer-col a,
.pricing-desc, .tv-timeline-item p,
[class*="meta"], [class*="caption"] {
  color: var(--grey);
}

/* Ensure all nav links are non-italic */
.nav-links a, .nav-mobile a, .nav-cta { font-style: normal !important; }
/* ================================================================
   GLOBAL COLOUR CONSISTENCY LOCK
   Ensures ALL pages match the homepage dark theme exactly
   ================================================================ */

/* Force dark background on all page structures */
html, body,
section, main, article, header, footer,
.pricing-hero, [class*="-hero"], [class*="-section"] {
  background-color: #06060F;
}

/* Cards & glass surfaces */
.tv-glass, .pricing-card:not(.popular),
[class*="card"]:not(.popular) {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(139,92,246,0.18) !important;
  color: #FFFFFF;
}

/* All headings must be white */
h1, h2, h3, h4, h5, h6,
.tv-h1, .tv-h2, .tv-h3,
.pricing-name, .pricing-amount {
  color: #FFFFFF !important;
}

/* Body text — pure white everywhere */
p, li, td, th, label, span:not(.tv-teal):not(.tv-gold):not([class*="badge"]):not([class*="chip"]):not([class*="tag"]):not([class*="label"]):not(.popular-badge):not(.nav-cta) {
  color: #FFFFFF;
}

/* Secondary descriptive text */
.tv-body, .pricing-desc, .footer-brand p,
.tv-timeline-item p, [class*="subtitle"],
.tv-stat-label, .footer-col a,
.tv-blog-meta, .compare-table td:not(:first-child) {
  color: #CBD5E1 !important;
}

/* Nav links */
.nav-links a, .nav-mobile a {
  color: #CBD5E1 !important;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #FFFFFF !important;
}

/* Stat numbers */
.tv-stat-num, [data-count], .pricing-price .amount {
  color: var(--teal) !important;
}

/* Buttons always legible */
.nav-cta, .tv-btn-teal { color: #06060F !important; }
.tv-btn-outline { color: #FFFFFF !important; }

/* Pricing popular card — override any leaked white */
.pricing-card.popular { background: linear-gradient(135deg, rgba(139,92,246,0.22) 0%, rgba(96,165,250,0.14) 100%) !important; }
