/*
Theme Name: TotalGymCloud SaaS
Theme URI: https://totalgymcloud.com/
Author: TotalGymCloud Team
Author URI: https://totalgymcloud.com/
Description: Tema oficială B2B SaaS pentru TotalGymCloud - Software inteligent de gestiune pentru săli de fitness, studiouri de pilates, centre spa și cluburi de luptă.
Version: 2.1.0
License: GNU General Public License v2 or later
Text Domain: totalgymcloud-saas
*/

:root {
  --primary: #0070f3;
  --primary-hover: #0056cc;
  --primary-light: #e6f0ff;
  --accent: #00d2ff;
  --accent-glow: rgba(0, 210, 255, 0.35);
  --success: #10b981;
  --dark-bg: #070c18;
  --dark-surface: #0c1424;
  --dark-card: #121c33;
  --dark-border: #1b2947;
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --border-color: #e2e8f0;
  --text-dark: #070c18;
  --text-muted: #566885;
  --text-light: #f1f5f9;
  --font-brand: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --brand-blue: #0077ff;
  --brand-cyan: #00d2ff;
  --brand-navy: #070c18;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 119, 255, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 119, 255, 0.1), 0 8px 10px -6px rgba(7, 12, 24, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 119, 255, 0.2);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-brand);
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0077ff 0%, #0050d8 100%);
  color: #ffffff !important;
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 119, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0084ff 0%, #004ecc 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.5), 0 0 14px rgba(0, 210, 255, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark) !important;
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--light-bg);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-video {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-dark) !important;
  border-color: rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-video:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 98, 255, 0.15);
}

.btn-video svg {
  color: #ef4444;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ==================== PROFESSIONAL ENTERPRISE HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(203, 213, 225, 0.8);
}

.site-header.scrolled .navbar {
  height: 66px;
}

/* Header Topbar */
.header-topbar {
  background: #080c16;
  color: #94a3b8;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  font-weight: 500;
}

.topbar-live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.topbar-helpline {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-helpline:hover {
  color: #00d2ff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-link {
  color: #94a3b8;
  transition: var(--transition);
}

.topbar-link:hover {
  color: #ffffff;
}

.topbar-badge-anaf {
  background: rgba(0, 98, 255, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(0, 98, 255, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.3s ease;
}

/* Brand Logo */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--dark-bg);
}

.brand-logo-horizontal {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s ease;
}

.site-header.scrolled .brand-logo-horizontal {
  height: 42px;
}

.logo-brand:hover .brand-logo-horizontal {
  transform: scale(1.03);
}

.brand-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 18px rgba(0, 119, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
  background: #ffffff;
  border: 2px solid #0077ff;
  padding: 2px;
  image-rendering: auto;
}

.site-header.scrolled .brand-logo-img {
  width: 52px;
  height: 52px;
}

.logo-brand:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.5), 0 0 14px rgba(0, 210, 255, 0.4);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-title-total {
  color: #0077ff;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-title-gym {
  color: #0b132b;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.badge-cloud {
  background: linear-gradient(135deg, #0077ff 0%, #00d2ff 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-left: 2px;
  box-shadow: 0 2px 6px rgba(0, 119, 255, 0.3);
}

.logo-subtitle {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0077ff;
  margin-top: 2px;
  opacity: 0.9;
}

/* Main Navigation Items */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link svg {
  transition: transform 0.25s ease;
  color: #94a3b8;
}

.nav-item:hover .nav-link {
  color: var(--primary);
  background: rgba(0, 98, 255, 0.05);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ==================== MEGA MENU ==================== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  z-index: 1010;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.mega-menu-solutii {
  width: 640px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.mega-menu-func {
  width: 620px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}

.mega-menu-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 12px;
  padding-left: 8px;
}

.mega-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-item a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: var(--transition);
}

.mega-item a:hover {
  background: var(--light-bg);
  transform: translateX(3px);
}

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mega-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.mega-item a:hover .mega-item-title {
  color: var(--primary);
}

.mega-item-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 2px;
}

/* Mega Menu Featured Promo Card */
.mega-featured-card {
  background: linear-gradient(135deg, #0b0f19 0%, #162032 100%);
  border-radius: 12px;
  padding: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 98, 255, 0.2);
}

.mega-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.mega-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.mega-card-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 16px;
}

.mega-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #00d2ff;
  transition: var(--transition);
}

.mega-card-btn:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Nav Actions Group */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-login-ghost:hover {
  color: var(--primary);
  background: var(--light-bg);
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #004ecc 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.45);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark-bg);
  border-radius: 6px;
}

.mobile-toggle:hover {
  background: var(--light-bg);
}

/* ==================== OFF-CANVAS MOBILE DRAWER ==================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 2600;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 20px;
  flex: 1;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-bg);
  border-radius: var(--radius-sm);
  background: var(--light-bg);
}

.mobile-submenu {
  list-style: none;
  padding-left: 14px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
}

/* ==================== HERO SECTION ==================== */
.hero-saas {
  position: relative;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-saas::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 98, 255, 0.12) 0%, rgba(0, 210, 255, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: #ffffff;
  border: 1.5px solid #0077ff;
  border-radius: 30px;
  font-family: var(--font-brand);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #0077ff;
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12), 0 4px 14px rgba(0, 210, 255, 0.2);
  margin-bottom: 22px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: #00d2ff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.35);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--dark-bg);
  margin-bottom: 20px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #0077ff 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-item svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Hero Visual / Mockup Image */
.hero-mockup-wrapper {
  position: relative;
}

.mockup-window-img {
  background: #0b0f19;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 98, 255, 0.2);
  overflow: hidden;
  border: 1px solid rgba(0, 98, 255, 0.25);
  position: relative;
}

.mockup-header-dark {
  background: #111827;
  padding: 10px 16px;
  border-bottom: 1px solid #1f293d;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-img-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.mockup-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
  bottom: -15px;
  left: -20px;
}

.floating-card-2 {
  top: -15px;
  right: -15px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ==================== VIDEO & OPERATIONAL SHOWCASE SECTION ==================== */
.section-video-showcase {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #070c18 22%, #070c18 100%);
  color: #ffffff;
  position: relative;
}

.video-container-wrap {
  max-width: 1040px;
  margin: 0 auto;
  background: #0d1322;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 119, 255, 0.25);
  overflow: hidden;
}

.video-header-bar {
  padding: 14px 22px;
  background: #111a2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
  gap: 15px;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.video-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #00d2ff;
  font-family: var(--font-brand);
}

.video-header-sub {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
}

.video-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-tag-pill {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  color: #94a3b8;
  font-weight: 600;
}

.operation-showcase-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050811;
  overflow: hidden;
}

.operation-visual-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.operation-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.operation-overlay-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(7, 12, 24, 0.05) 0%, rgba(7, 12, 24, 0.35) 70%, rgba(7, 12, 24, 0.75) 100%);
}

/* Telemetry Badge */
.live-telemetry-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(7, 12, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  max-width: 320px;
  pointer-events: none;
}

.telemetry-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #00d2ff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.telemetry-log-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #e2e8f0;
  margin-top: 4px;
}

.telemetry-time {
  color: #64748b;
  font-family: monospace;
  font-size: 10px;
}

.telemetry-badge-ok {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}

.telemetry-badge-online {
  background: rgba(0, 210, 255, 0.25);
  color: #00d2ff;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}

.telemetry-badge-contract {
  background: rgba(234, 179, 8, 0.25);
  color: #facc15;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}

.telemetry-badge-workout {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}

.telemetry-badge-sale {
  background: rgba(0, 119, 255, 0.3);
  color: #60a5fa;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}

.telemetry-user {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.5px;
}

/* Interactive Hotspots - 5 Ordered Member Steps */
.live-hotspot {
  position: absolute;
  z-index: 6;
}

.hotspot-tablet {
  top: 55%;
  left: 58%;
}

.hotspot-mobile {
  top: 65%;
  left: 22%;
}

.hotspot-bar {
  top: 52%;
  left: 74%;
}

.hotspot-turnstile {
  top: 48%;
  left: 34%;
}

.hotspot-workout {
  top: 30%;
  left: 45%;
}

.hotspot-monitor {
  top: 35%;
  left: 88%;
}

.hotspot-trigger {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077ff, #00d2ff);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 119, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.hotspot-pulse-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid #00d2ff;
  opacity: 0.8;
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.live-hotspot:hover .hotspot-trigger,
.live-hotspot.active .hotspot-trigger {
  transform: scale(1.18);
  box-shadow: 0 0 25px #00d2ff, 0 0 45px rgba(0, 119, 255, 0.8);
  border-color: #00d2ff;
}

.hotspot-tooltip {
  position: absolute;
  z-index: 10;
  width: 290px;
  background: rgba(7, 12, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 119, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  transform: translateY(6px);
}

.hotspot-tablet .hotspot-tooltip {
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
}

.hotspot-tablet.active .hotspot-tooltip,
.hotspot-tablet:hover .hotspot-tooltip {
  transform: translateX(-50%) translateY(0);
}

.hotspot-mobile .hotspot-tooltip {
  bottom: 48px;
  left: 0;
  transform: translateY(6px);
}

.hotspot-mobile.active .hotspot-tooltip,
.hotspot-mobile:hover .hotspot-tooltip {
  transform: translateY(0);
}

.hotspot-bar .hotspot-tooltip {
  bottom: 48px;
  right: 0;
  transform: translateY(6px);
}

.hotspot-bar.active .hotspot-tooltip,
.hotspot-bar:hover .hotspot-tooltip {
  transform: translateY(0);
}

.hotspot-turnstile .hotspot-tooltip {
  top: -20px;
  left: 48px;
}

.hotspot-workout .hotspot-tooltip {
  top: -15px;
  left: 48px;
}

.hotspot-monitor .hotspot-tooltip {
  top: -20px;
  right: 48px;
}

.live-hotspot.active .hotspot-tooltip,
.live-hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tooltip-badge {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  color: #00d2ff;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.tooltip-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  font-family: var(--font-brand);
}

.tooltip-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 10px;
}

.tooltip-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tooltip-feature-tags span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Controls / Caption bar at bottom of player */
.video-controls-overlay {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 12, 24, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 7;
}

.scene-caption-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

.scene-caption-inline .caption-icon {
  font-size: 14px;
}

/* Operational Chapters / Action Tabs (5 Flows) */
.video-chapters.operational-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1c273e;
}

.video-chapters.operational-tabs.five-tabs {
  grid-template-columns: repeat(5, 1fr);
}

.video-chapter-item {
  position: relative;
  background: #0d1322;
  padding: 16px 18px;
  cursor: pointer;
  transition: var(--transition);
  border-top: 2px solid transparent;
  overflow: hidden;
}

.tab-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0077ff, #00d2ff);
  box-shadow: 0 0 10px #00d2ff;
  transition: opacity 0.2s ease;
  opacity: 0;
  z-index: 2;
}

.video-chapter-item.active .tab-progress-line {
  opacity: 1;
  animation: tabProgressBar 4.5s linear forwards;
}

@keyframes tabProgressBar {
  from { width: 0%; }
  to { width: 100%; }
}

.video-container-wrap:hover .video-chapter-item.active .tab-progress-line {
  animation-play-state: paused;
}

.video-chapter-item:hover,
.video-chapter-item.active {
  background: #141e33;
  border-top-color: #00d2ff;
}

.chapter-time {
  font-size: 11px;
  color: #00d2ff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.chapter-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  font-family: var(--font-brand);
}

.chapter-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

.video-chapter-item.active .chapter-desc {
  color: #94a3b8;
}

@media (max-width: 1040px) {
  .video-chapters.operational-tabs.five-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .hotspot-tooltip {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .video-chapters.operational-tabs.five-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .hotspot-tooltip {
    width: 230px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .video-header-meta {
    display: none;
  }

  .live-telemetry-badge {
    display: none;
  }

  .scene-caption-inline {
    font-size: 11px;
  }

  .hotspot-mobile .hotspot-tooltip {
    left: 0;
    bottom: 45px;
  }

  .hotspot-turnstile .hotspot-tooltip {
    left: 0;
    top: 45px;
  }

  .hotspot-tablet .hotspot-tooltip {
    left: 0;
    transform: none;
    bottom: 45px;
  }

  .hotspot-bar .hotspot-tooltip {
    right: 0;
    bottom: 45px;
  }

  .hotspot-monitor .hotspot-tooltip {
    right: 0;
    top: 45px;
  }

  .video-chapters.operational-tabs.five-tabs {
    grid-template-columns: 1fr;
  }
}

/* ==================== 4 NICHES TABS SECTION ==================== */
.section-niches {
  padding: 90px 0;
  background: var(--light-bg);
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0077ff;
  background: #ffffff;
  border: 1.5px solid #0077ff;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.1), 0 2px 8px rgba(0, 210, 255, 0.15);
}

.section-title {
  font-family: var(--font-brand);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--dark-bg);
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
}

.niche-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.niche-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
}

.niche-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.niche-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 98, 255, 0.3);
}

.niche-pane {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.3s ease;
}

.niche-pane.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.niche-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 16px;
}

.niche-info p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.feature-check-list {
  list-style: none;
  margin-bottom: 30px;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #334155;
}

.feature-check-list li svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Niche Image Visual Container */
.niche-visual-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
}

.niche-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.niche-visual-card:hover img {
  transform: scale(1.03);
}

.niche-visual-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.niche-visual-stat-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.niche-visual-stat-overlay strong {
  color: #00d2ff;
  font-size: 16px;
}

.niche-visual-stat-overlay span {
  color: #cbd5e1;
  font-size: 12px;
}

/* ==================== CORE FEATURES GRID ==================== */
.section-features {
  padding: 90px 0;
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 16px 32px -8px rgba(0, 98, 255, 0.12);
  transform: translateY(-4px);
}

.feature-card-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================== HARDWARE & TURNSTILES ==================== */
.section-hardware {
  padding: 90px 0;
  background: var(--dark-bg);
  color: #ffffff;
  position: relative;
}

.section-hardware .section-title {
  color: #ffffff;
}

.section-hardware .section-sub {
  color: #94a3b8;
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.hardware-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 98, 255, 0.3);
}

.hardware-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hardware-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hw-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.hw-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.hw-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 98, 255, 0.2);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hw-item h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.hw-item p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==================== INTERACTIVE ROI CALCULATOR ==================== */
.section-calculator {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%);
}

.calc-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.calc-slider-wrap {
  margin-top: 30px;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.calc-slider-val {
  font-size: 24px;
  color: var(--primary);
  font-weight: 800;
}

input[type=range] {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(0, 98, 255, 0.25);
  transition: var(--transition);
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-card {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1e293b 100%);
  border-radius: var(--radius-md);
  padding: 36px;
  color: #ffffff;
  text-align: center;
}

.calc-res-title {
  font-size: 14px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-res-big {
  font-family: var(--font-brand);
  font-size: 46px;
  font-weight: 900;
  color: #00d2ff;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
}

.calc-res-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.calc-break-item span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.calc-break-item strong {
  font-size: 16px;
  color: #ffffff;
}

/* ==================== PRICING SECTION ==================== */
.section-pricing {
  padding: 90px 0;
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 50px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid #0077ff;
  box-shadow: 0 20px 45px -10px rgba(0, 119, 255, 0.25), 0 0 20px rgba(0, 210, 255, 0.15);
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0077ff 0%, #00d2ff 100%);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 20px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.35);
}

.pricing-name {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 900;
  color: var(--dark-bg);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-currency {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 800;
  color: #0077ff;
}

.pricing-amount {
  font-family: var(--font-brand);
  font-size: 52px;
  font-weight: 900;
  color: var(--dark-bg);
  letter-spacing: -1.5px;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #334155;
}

.pricing-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ==================== CTA & DEMO FORM SECTION ==================== */
.section-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #002b66 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.cta-content h2 {
  color: #ffffff !important;
  font-family: var(--font-brand);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  max-width: 680px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.cta-content p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px;
  color: var(--dark-bg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.cta-form-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cta-form-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.15);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #060911;
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
}

.footer-brand .brand-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2.5px solid #00d2ff;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.4), 0 6px 20px rgba(0, 119, 255, 0.35);
  background: #ffffff;
  padding: 3px;
  margin-bottom: 4px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #64748b;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-grid, .cta-grid, .calc-box, .hardware-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 38px;
  }
  .niche-pane.active {
    grid-template-columns: 1fr;
  }
  .video-chapters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }
  .main-nav, .nav-cta-group {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .features-grid, .pricing-grid, .hardware-cards {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .section-title {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .video-chapters {
    grid-template-columns: 1fr;
  }
  .market-comp-grid {
    grid-template-columns: 1fr;
  }
  .pricing-hero-title {
    font-size: 30px !important;
  }
}

/* ==================== PRICING PAGE DEDICATED STYLES ==================== */
.pricing-hero {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 80px 0 40px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.pricing-hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark-bg);
  letter-spacing: -1px;
  margin: 20px 0 16px;
  line-height: 1.2;
}

.pricing-hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.billing-switcher-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #f1f5f9;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.billing-opt {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition);
}

.billing-opt.active {
  color: #0f172a;
  font-weight: 800;
}

.discount-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
}

.billing-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.billing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.pricing-trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.trust-badge-item svg {
  color: var(--success);
}

.section-pricing-cards {
  padding: 30px 0 80px;
  background: #ffffff;
}

.pricing-target-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  margin-bottom: 12px;
}

.pricing-annual-note {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  margin-top: -16px;
  margin-bottom: 20px;
}

/* Feature Matrix Table */
.section-feature-matrix {
  padding: 90px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.table-responsive-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.matrix-table th {
  padding: 22px 20px;
  font-size: 16px;
  font-weight: 800;
  border-bottom: 2px solid #e2e8f0;
  color: var(--dark-bg);
}

.matrix-table th span {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.matrix-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.table-group-header td {
  background: #f1f5f9;
  font-weight: 800;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  padding: 12px 20px;
}

.feat-name {
  text-align: left !important;
  font-weight: 600;
  color: #0f172a;
}

.col-highlight {
  background: rgba(0, 98, 255, 0.02);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* Market Comparison */
.section-comparison-market {
  padding: 90px 0;
  background: #ffffff;
}

.market-comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
}

.market-comp-col {
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
}

.comp-tgc {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 98, 255, 0.1);
}

.comp-traditional {
  background: #f8fafc;
}

.comp-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.comp-badge-gray {
  display: inline-block;
  background: #64748b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.comp-header h4 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.comp-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.comp-list {
  list-style: none;
  margin-top: 24px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
}

.comp-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing FAQ */
.section-pricing-faq {
  padding: 90px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.faq-accordion-grid {
  max-width: 860px;
  margin: 40px auto 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Clearer brand lockup and benefit-led navigation */
.logo-brand {
  gap: 10px;
  min-width: 230px;
}
.brand-logo-horizontal {
  height: 56px;
  max-width: 210px;
}
.logo-context {
  display: block;
  max-width: 92px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
}
.nav-link {
  padding: 10px 11px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-link:hover {
  box-shadow: inset 0 -2px 0 var(--primary);
}
/* Static TotalGym watermark for all content imagery */
.tgc-image-brand {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  overflow: visible;
  border-radius: inherit;
}

.tgc-image-brand > img:first-child {
  display: block;
}

.tgc-image-watermark {
  position: absolute !important;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  width: clamp(52px, 15%, 96px) !important;
  height: auto !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  overflow: visible !important;
  clip-path: none !important;
  padding: 7px;
  border: 0 !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 16px rgba(7, 12, 24, .24);
  opacity: .96;
  pointer-events: none;
}

@media (max-width: 640px) {
  .tgc-image-watermark {
    right: 8px;
    bottom: 8px;
    width: 48px !important;
    padding: 6px;
  }
}
/* Keep the horizontal header lockup fully inside its box. */
.brand-logo-horizontal {
  object-fit: contain;
  object-position: center center;
  overflow: visible;
}
/* Header layout guard: keep the full logo visible before collapsing navigation. */
.logo-brand {
  flex: 0 0 auto;
  min-width: 0;
  overflow: visible;
}

.navbar {
  gap: 18px;
}

.main-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.nav-link {
  padding-left: 9px;
  padding-right: 9px;
  font-size: 13px;
}

.nav-cta-group {
  flex: 0 0 auto;
  gap: 8px;
}

@media (max-width: 1180px) {
  .main-nav,
  .nav-cta-group {
    display: none;
  }

  .mobile-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .navbar {
    gap: 12px;
  }

  .logo-brand {
    max-width: calc(100% - 48px);
  }

  .brand-logo-horizontal {
    height: 48px;
    max-width: 210px;
  }
}
/* Final logo rendering guard: preserve every edge pixel of the horizontal lockup. */
.site-header,
.site-header .container,
.site-header .navbar,
.logo-brand {
  overflow: visible !important;
}

.brand-logo-horizontal,
.logo-brand:hover .brand-logo-horizontal {
  display: block;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* Keep the CLOUD badge visually attached to the logo and separated from Platformă. */
@media (min-width: 1181px) {
  .logo-brand {
    min-width: 250px;
    margin-right: 24px;
    gap: 12px;
  }

  .brand-logo-horizontal {
    max-width: 210px !important;
    flex: 0 0 auto;
  }

  .badge-cloud {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .main-nav {
    margin-left: 8px;
  }
}

@media (max-width: 1180px) {
  .logo-brand {
    min-width: 0;
    margin-right: 0;
  }
}

/* Menu spacing: keep every label and dropdown icon in its own readable area. */
@media (min-width: 1181px) {
  .main-nav {
    gap: 6px;
    align-items: center;
  }

  .main-nav .nav-item {
    flex: 0 0 auto;
  }

  .main-nav .nav-link {
    min-height: 42px;
    padding: 11px 14px;
    white-space: nowrap;
    gap: 8px;
  }
}

/* Collision-proof header: switch to the drawer before desktop navigation can run out of room. */
.navbar {
  flex-wrap: nowrap;
}

.main-nav,
.main-nav .nav-item,
.main-nav .nav-link,
.nav-cta-group,
.nav-cta-group > a {
  flex-shrink: 0;
}

.main-nav .nav-link,
.nav-cta-group > a {
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .site-header .main-nav,
  .site-header .nav-cta-group {
    display: none;
  }

  .site-header .mobile-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-header .navbar {
    justify-content: space-between;
  }
}

@media (min-width: 1401px) {
  .site-header .main-nav {
    display: flex;
    min-width: 0;
    overflow: visible;
  }

  .site-header .nav-cta-group {
    display: flex;
  }

  .site-header .mobile-toggle {
    display: none;
  }
}

/* Small-screen safeguards: logo, CLOUD and menu button must fit on narrow phones. */
@media (max-width: 1400px) {
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header .logo-brand {
    max-width: calc(100% - 48px);
    min-width: 0;
    gap: 8px;
  }

  .site-header .brand-logo-horizontal {
    height: 44px !important;
    width: auto !important;
    max-width: calc(100vw - 112px) !important;
    max-height: 44px;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header .navbar {
    height: 72px;
    gap: 6px;
  }

  .site-header .logo-brand {
    gap: 6px;
    max-width: calc(100% - 42px);
  }

  .site-header .brand-logo-horizontal {
    height: 40px !important;
    max-width: calc(100vw - 96px) !important;
    max-height: 40px;
  }

  .site-header .badge-cloud {
    font-size: 9px !important;
    padding: 2px 5px !important;
    line-height: 1.1;
  }
}

@media (max-width: 360px) {
  .site-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header .navbar {
    height: 66px;
  }

  .site-header .logo-brand {
    gap: 4px;
    max-width: calc(100% - 38px);
  }

  .site-header .brand-logo-horizontal {
    height: 36px !important;
    max-width: calc(100vw - 82px) !important;
    max-height: 36px;
  }

  .site-header .badge-cloud {
    font-size: 8px !important;
    padding: 2px 4px !important;
  }

  .site-header .mobile-toggle {
    padding: 6px;
  }
}

/* Interactive hero niche gallery */
.hero-niche-carousel {
  position: relative;
  min-height: 430px;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 119, 255, 0.28);
  border-radius: var(--radius-md);
  background: #08111f;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.42), 0 0 0 1px rgba(0, 210, 255, 0.12);
}

.hero-niche-media,
.hero-niche-slide,
.hero-niche-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-niche-media {
  z-index: -3;
}

.hero-niche-slide {
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.55s ease, transform 6s ease;
}

.hero-niche-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-niche-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-niche-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(3, 10, 22, 0.05) 15%, rgba(3, 10, 22, 0.28) 42%, rgba(3, 10, 22, 0.96) 100%);
  pointer-events: none;
}

.hero-niche-status {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 10, 22, 0.68);
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-niche-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16), 0 0 12px rgba(34, 197, 94, 0.8);
}

.hero-niche-copy {
  position: absolute;
  right: 24px;
  bottom: 84px;
  left: 24px;
  max-width: 430px;
  color: #ffffff;
}

.hero-niche-kicker {
  display: inline-block;
  margin-bottom: 9px;
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-niche-copy h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.hero-niche-copy p {
  max-width: 360px;
  margin: 0 0 14px;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.55;
}

.hero-niche-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hero-niche-link span {
  color: #67e8f9;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero-niche-link:hover span,
.hero-niche-link:focus-visible span {
  transform: translateX(4px);
}

.hero-niche-controls {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(3, 10, 22, 0.72);
  backdrop-filter: blur(12px);
}

.hero-niche-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-niche-tab:hover,
.hero-niche-tab:focus-visible {
  color: #ffffff;
  outline: none;
}

.hero-niche-tab.is-active {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.34);
}

.hero-niche-progress {
  position: absolute;
  right: 18px;
  bottom: 12px;
  left: 18px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-niche-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #67e8f9;
}

.hero-niche-carousel.is-playing .hero-niche-progress span {
  animation: heroNicheProgress 5s linear infinite;
}

@keyframes heroNicheProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 1024px) {
  .hero-niche-carousel {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .hero-niche-carousel {
    min-height: 430px;
    aspect-ratio: auto;
  }

  .hero-niche-status {
    top: 12px;
    left: 12px;
    font-size: 9px;
  }

  .hero-niche-copy {
    right: 16px;
    bottom: 84px;
    left: 16px;
  }

  .hero-niche-copy h3 {
    font-size: 27px;
  }

  .hero-niche-controls {
    right: 10px;
    bottom: 18px;
    left: 10px;
    gap: 3px;
  }

  .hero-niche-tab {
    padding: 8px 4px;
    font-size: 9px;
  }

  .hero-niche-progress {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-niche-slide,
  .hero-niche-link span {
    transition: none;
  }

  .hero-niche-carousel.is-playing .hero-niche-progress span {
    animation: none;
  }
}

/* Explicit stacking order for the hero gallery on every viewport. */
.hero-niche-media { z-index: 0; }
.hero-niche-shade { z-index: 1; }
.hero-niche-status,
.hero-niche-copy { z-index: 2; }
.hero-niche-controls,
.hero-niche-progress { z-index: 3; }

/* Operational image ensembles for every business niche. */
.niche-visual-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(118px, .65fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  min-height: 360px;
  padding: 10px;
  background: linear-gradient(145deg, #0b1220, #111d31);
}

.niche-collage-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  object-fit: cover !important;
  object-position: center;
}

.niche-collage-main {
  grid-row: 1 / 3;
  border-radius: 14px;
}

.niche-collage-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #18253a;
}

.niche-collage-tile::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, transparent 35%, rgba(3, 10, 22, .88) 100%);
  pointer-events: none;
}

.niche-collage-tile span {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  z-index: 1;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

@media (max-width: 760px) {
  .niche-visual-collage {
    min-height: 300px;
    grid-template-columns: minmax(0, 1.25fr) minmax(100px, .75fr);
    gap: 7px;
    padding: 7px;
  }

  .niche-collage-tile span {
    right: 6px;
    bottom: 6px;
    left: 6px;
    font-size: 9px;
  }
}

/* Hero support tiles: show the connected reception, access and team workflow. */
.hero-niche-support {
  position: absolute;
  top: 68px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 148px;
  gap: 8px;
}

.hero-niche-support-tile {
  position: relative;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 11px;
  background: #142238;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.hero-niche-support-tile::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, transparent 30%, rgba(3, 10, 22, .9) 100%);
  pointer-events: none;
}

.hero-niche-support-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.hero-niche-support-tile span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  z-index: 1;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .hero-niche-support {
    top: 58px;
    right: 12px;
    width: 108px;
    gap: 6px;
  }

  .hero-niche-support-tile {
    height: 70px;
  }

  .hero-niche-support-tile:nth-child(2) {
    display: none;
  }

  .hero-niche-copy {
    max-width: calc(100% - 126px);
  }
}

/* Lower the recurring-payment floating card slightly in the hero. */
.floating-card-1 {
  bottom: -30px;
}

/* SEO / AI Search fitness content */
.section-seo-fitness { padding: 96px 0; background: #f8fafc; }
.section-seo-fitness .section-title-wrap { max-width: 900px; margin: 0 auto 42px; text-align: center; }
.seo-fitness-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.seo-fitness-card { position: relative; padding: 30px; background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; box-shadow: 0 12px 28px rgba(15, 23, 42, .05); }
.seo-fitness-card h3 { margin: 10px 0 12px; color: #0f172a; font-size: 22px; line-height: 1.2; }
.seo-fitness-card p, .seo-fitness-card li, .seo-fitness-detail-copy p, .seo-fitness-faq p { color: #475569; font-size: 15px; line-height: 1.7; }
.seo-fitness-card ul { margin: 18px 0 0; padding-left: 20px; }
.seo-fitness-card li { margin: 7px 0; }
.seo-fitness-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e0f2fe; color: #0369a1; font-weight: 800; font-size: 13px; }
.seo-fitness-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; margin-top: 64px; padding: 42px; border-radius: 24px; background: #0f172a; }
.seo-fitness-detail h3 { margin: 16px 0 0; color: #fff; font-size: 30px; line-height: 1.2; }
.seo-fitness-detail .section-tag { background: rgba(56, 189, 248, .14); color: #38bdf8; }
.seo-fitness-detail-copy p { color: #cbd5e1; margin-top: 0; }
.seo-fitness-faq { max-width: 900px; margin: 72px auto 0; }
.seo-faq-heading { margin-bottom: 24px !important; }
.seo-fitness-faq details { margin: 10px 0; padding: 0 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.seo-fitness-faq summary { cursor: pointer; padding: 19px 0; color: #0f172a; font-weight: 700; list-style-position: inside; }
.seo-fitness-faq details p { padding: 0 24px 18px 25px; margin: 0; }
@media (max-width: 760px) { .seo-fitness-grid, .seo-fitness-detail { grid-template-columns: 1fr; } .seo-fitness-detail { padding: 28px 22px; gap: 20px; } .seo-fitness-card { padding: 24px; } }
.tgc-language-switcher { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.tgc-language-switcher a { color: #cbd5e1; text-decoration: none; }
.tgc-language-switcher a:hover, .tgc-language-switcher a[aria-current="page"] { color: #00d2ff; }
@media (max-width: 640px) { .tgc-language-switcher { flex-wrap: wrap; gap: 4px; font-size: 10px; } }

.tgc-language-switcher { display: none !important; }

.section-social-proof { padding: 78px 0; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.proof-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 38px; }
.proof-result-card { padding: 26px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 10px 24px rgba(15, 23, 42, .05); }
.proof-result-label { color: #0077ff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.proof-result-card h3 { margin: 12px 0 10px; font-size: 20px; line-height: 1.25; }
.proof-result-card p { color: #64748b; font-size: 14px; line-height: 1.65; }
@media (max-width: 760px) { .proof-results-grid { grid-template-columns: 1fr; } }
.nav-item.mega-open .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-item.mega-open > .nav-link { color: var(--primary); background: rgba(0, 98, 255, 0.05); }


/* Commercial segment landing pages */
.segment-page{background:#f7f9fc}.segment-hero{padding:clamp(7rem,12vw,10rem) 0 5rem;background:linear-gradient(135deg,#071a35,#0c315f);color:#fff}.segment-hero-grid,.segment-use-cases-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,5vw,5rem);align-items:center}.segment-hero h1{margin:1rem 0;font-size:clamp(2.3rem,5vw,4.5rem);line-height:1.04}.segment-hero p{font-size:1.12rem;line-height:1.75;color:rgba(255,255,255,.82)}.segment-hero-media{overflow:hidden;border-radius:24px;box-shadow:0 28px 70px rgba(0,0,0,.3)}.segment-hero-image{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.segment-benefits,.segment-use-cases,.segment-faq{padding:clamp(4rem,8vw,7rem) 0}.segment-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2.5rem}.segment-card{padding:2rem;background:#fff;border:1px solid #dce5ef;border-radius:20px;box-shadow:0 12px 35px rgba(7,26,53,.07)}.segment-card h3{margin:0 0 .75rem;color:#071a35}.segment-card p{margin:0;color:#526276;line-height:1.7}.segment-use-cases{background:#fff}.segment-use-cases ul{display:grid;gap:.9rem;margin:0;padding:0;list-style:none}.segment-use-cases li{padding:1rem 1.2rem;border-left:4px solid #17b6b0;border-radius:10px;background:#f0f8f8;font-weight:700;color:#17324f}.segment-faq-list{max-width:900px;margin:2.5rem auto 0}.segment-faq-list details{margin-bottom:.8rem;padding:1.15rem 1.3rem;background:#fff;border:1px solid #dce5ef;border-radius:14px}.segment-faq-list summary{cursor:pointer;font-weight:800;color:#071a35}.segment-faq-list p{color:#526276;line-height:1.7}@media(max-width:900px){.segment-hero-grid,.segment-use-cases-grid,.segment-card-grid{grid-template-columns:1fr}.segment-hero{padding-top:8rem}}
