/* ===================================================================
   TioCloud v7 — Linear / Vercel inspired design system
   =================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

/* ── Tokens ── */
.tc-site {
  --tc-font: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
  --tc-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --tc-max: 1180px;
  --tc-gutter: clamp(20px, 4vw, 32px);
  --tc-radius: 16px;
  --tc-radius-lg: 24px;
  --tc-radius-pill: 999px;
  --tc-border: rgba(255, 255, 255, 0.08);
  --tc-border-strong: rgba(255, 255, 255, 0.14);
  --tc-glass: rgba(255, 255, 255, 0.035);
  --tc-glass-hover: rgba(255, 255, 255, 0.055);
  --tc-text: #eef8f5;
  --tc-text-muted: rgba(238, 248, 245, 0.62);
  --tc-text-soft: rgba(238, 248, 245, 0.42);
  --tc-shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
  --tc-header-h: 72px;
  font-family: var(--tc-font);
  background: var(--bg-deep);
  color: var(--tc-text);
  line-height: 1.6;
}

.tc-wrap {
  width: min(var(--tc-max), calc(100% - var(--tc-gutter) * 2));
  margin-inline: auto;
}

/* ── Typography ── */
.tc-kicker {
  margin: 0 0 12px;
  font-family: var(--tc-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-accent-3);
}

.tc-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.tc-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tc-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--tc-text-muted);
  line-height: 1.75;
}

/* ── Sections ── */
.tc-section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}

.tc-section + .tc-section {
  border-top: 1px solid var(--tc-border);
}

/* ── Buttons ── */
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--tc-radius-pill);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.32s, background 0.32s, border-color 0.32s, filter 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tc-btn:hover { transform: translateY(-1px); text-decoration: none; }
.tc-btn:active { transform: translateY(0) scale(0.97); }

.tc-btn-primary {
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff !important;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--sp-accent) 38%, transparent);
}

.tc-btn-ghost {
  background: var(--tc-glass);
  border-color: var(--tc-border-strong);
  color: var(--tc-text) !important;
}

.tc-btn-ghost:hover {
  background: var(--tc-glass-hover);
  color: #fff !important;
}

.tc-btn-sm { padding: 9px 18px; font-size: 0.84rem; }
.tc-btn-block { width: 100%; }

.tc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-glass);
  border: 1px solid var(--tc-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sp-accent-3);
  margin-bottom: 20px;
}

.tc-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sp-accent-3);
  box-shadow: 0 0 10px var(--sp-accent-3);
}

.tc-pill-gold {
  color: #ffd98a;
  border-color: rgba(255, 215, 128, 0.25);
  background: rgba(255, 215, 128, 0.08);
}

.tc-pill-gold::before { background: #ffd98a; box-shadow: 0 0 10px rgba(255, 215, 128, 0.5); }

/* ── Glass card ── */
.tc-glass-card {
  padding: 28px 24px;
  border-radius: var(--tc-radius-lg);
  background: var(--tc-glass);
  border: 1px solid var(--tc-border);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.tc-glass-card:hover {
  background: var(--tc-glass-hover);
  border-color: var(--tc-border-strong);
  transform: translateY(-3px);
}

.tc-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--sp-accent) 16%, transparent);
  color: var(--sp-accent-3);
  margin-bottom: 16px;
}

.tc-icon-badge svg { width: 22px; height: 22px; }

.tc-glass-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.tc-glass-card p { margin: 0; color: var(--tc-text-muted); font-size: 0.92rem; line-height: 1.65; }

.tc-card-meta {
  font-family: var(--tc-mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  color: var(--sp-accent-3) !important;
  margin-bottom: 6px !important;
}

.tc-card-desc { margin-bottom: 18px !important; }

.tc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

/* ── Reveal animation ── */
.tc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Header ── */
.tc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--tc-header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

.tc-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: transparent;
  transition: background 0.35s;
}

.tc-header.is-scrolled {
  background: rgba(5, 12, 10, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tc-header.is-scrolled::after {
  background: var(--tc-border);
}

.tc-header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  overflow: visible;
}

.tc-header-brand {
  flex-shrink: 0;
  margin-left: clamp(12px, 1.8vw, 22px);
}

.tc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(240px, 38vw);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tc-text);
  text-decoration: none;
  flex-shrink: 0;
  padding: 8px 16px 8px 18px;
  border-radius: var(--tc-radius-pill);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.tc-logo:active {
  transform: scale(0.97);
}

.tc-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--sp-accent) 25%, transparent);
}

.tc-logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--sp-accent) 35%, transparent);
}

.tc-nav-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: clamp(48px, 7vw, 120px);
  flex-shrink: 1;
  min-width: 0;
  justify-content: flex-end;
  padding: 5px 8px 5px 8px;
  border-radius: var(--tc-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  isolation: isolate;
}

.tc-nav {
  flex: 0 1 auto;
  min-width: 0;
}

.tc-nav-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 3px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: var(--tc-radius-pill);
  overflow: visible;
  isolation: isolate;
}

.tc-nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: var(--tc-radius-pill);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.25s,
    filter 0.25s;
  will-change: transform, width, height;
}

.tc-nav-indicator.is-liquid-stretch {
  filter: brightness(1.06) saturate(1.12);
}

.tc-nav-glass.is-ready .tc-nav-indicator {
  opacity: 1;
}

.tc-nav li {
  position: relative;
}

.tc-nav li + li::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
  z-index: 2;
}

.tc-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.tc-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border-radius: var(--tc-radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--tc-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  z-index: 1;
  background: transparent;
}

.tc-nav a:hover,
.tc-nav .is-active a {
  color: var(--tc-text);
  background: transparent;
}

.tc-nav .is-active a {
  color: var(--sp-accent-3);
  font-weight: 600;
}

.tc-header-cta {
  flex-shrink: 0;
  padding: 10px 20px !important;
  font-size: 0.86rem !important;
}

.tc-mobile-toggle {
  flex-shrink: 0;
  justify-self: start;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--tc-border);
  border-radius: 12px;
  background: var(--tc-glass);
  cursor: pointer;
}

.tc-mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--tc-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.tc-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.tc-nav-open .tc-mobile-backdrop { opacity: 1; visibility: visible; }

/* ── Hero ── */
.tc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--tc-header-h) + 48px) 0 80px;
  overflow: hidden;
}

.tc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% 15%, color-mix(in srgb, var(--sp-accent) 22%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, color-mix(in srgb, var(--sp-accent-3) 10%, transparent), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #060d0b 50%, var(--bg-mid) 100%);
}

.tc-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

.tc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tc-hero-title { margin: 0 0 20px; }

.tc-hero-brand {
  display: block;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(120deg, #fff 0%, var(--sp-accent-3) 50%, var(--sp-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.tc-hero-tagline {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tc-text);
}

.tc-hero-desc {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--tc-text-muted);
}

.tc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tc-hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tc-hero-pillars li {
  padding: 6px 12px;
  border-radius: var(--tc-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tc-text-muted);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--tc-border);
}

/* ── Brand manifesto strip ── */
.tc-manifesto {
  padding: 0 0 clamp(32px, 5vw, 48px);
  margin-top: -24px;
}

.tc-manifesto-text {
  margin: 0;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: transparent;
  background: linear-gradient(90deg, var(--tc-text-muted), var(--sp-accent-3), var(--tc-text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tc-hero-media { display: flex; justify-content: center; align-items: center; }

.tc-device-frame {
  position: relative;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid var(--tc-border-strong);
  box-shadow: var(--tc-shadow);
}

.tc-device-frame::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sp-accent) 28%, transparent), transparent 65%);
  filter: blur(50px);
  z-index: -1;
}

.tc-device-frame img {
  width: 100%;
  border-radius: 18px;
}

.tc-device-frame-lg { max-width: 340px; margin-inline: auto; }

/* ── Proof band (metrics + trust) ── */
.tc-proof {
  padding: clamp(48px, 8vw, 88px) 0;
  position: relative;
}

.tc-proof-panel {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: calc(var(--tc-radius-lg) + 4px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.35);
  border: 1px solid var(--tc-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.tc-proof-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, color-mix(in srgb, var(--sp-accent) 16%, transparent), transparent 60%),
    radial-gradient(ellipse 40% 35% at 0% 100%, color-mix(in srgb, var(--sp-accent-3) 8%, transparent), transparent 55%);
  pointer-events: none;
}

.tc-proof-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.tc-proof-intro {
  text-align: left;
}

.tc-proof-intro .tc-head {
  margin: 0;
  max-width: none;
  text-align: left;
}

.tc-proof-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tc-proof-intro .tc-lead {
  margin: 0;
  max-width: 36em;
}

.tc-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tc-proof-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tc-proof-stats.is-full {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-inline: auto;
}

.tc-stat-tile {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: var(--tc-radius);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--tc-border);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.tc-stat-tile:hover {
  border-color: color-mix(in srgb, var(--sp-accent) 35%, transparent);
  background: rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.tc-stat-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--tc-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--tc-text-soft);
}

.tc-stat-value {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--sp-accent-3);
  font-variant-numeric: tabular-nums;
}

.tc-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--tc-text-muted);
}

.tc-proof-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: clamp(24px, 3vw, 36px) 0;
  background: linear-gradient(90deg, transparent, var(--tc-border-strong), transparent);
}

.tc-proof-trust {
  position: relative;
  z-index: 1;
}

.tc-proof-trust-kicker {
  margin: 0 0 18px;
  font-family: var(--tc-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-text-soft);
}

.tc-proof-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tc-trust-item {
  padding: 22px 20px;
  border-radius: var(--tc-radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--tc-border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.tc-trust-item:hover {
  border-color: color-mix(in srgb, var(--sp-accent) 30%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.tc-trust-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tc-trust-item .tc-icon-badge {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 12px;
}

.tc-trust-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.tc-trust-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--tc-text-muted);
}

/* ── Showcase carousel ── */
.tc-showcase {
  --tc-showcase-radius: 28px;
}

.tc-showcase-stage {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border-radius: calc(var(--tc-radius-lg) + 8px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.32);
  border: 1px solid var(--tc-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 32px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.tc-showcase-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--tc-radius-pill);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--tc-border);
}

.tc-showcase-brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.tc-showcase-brand span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tc-text-muted);
}

.tc-showcase .tc-device-frame {
  border-radius: calc(var(--tc-showcase-radius) + 10px);
}

.tc-showcase .tc-device-frame img {
  border-radius: var(--tc-showcase-radius);
}

.tc-showcase-single figcaption,
.tc-carousel-slide figcaption {
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--tc-text-muted);
}

.tc-carousel-viewport {
  overflow: hidden;
  border-radius: var(--tc-radius-lg);
}

.tc-showcase .tc-carousel-slide {
  overflow: hidden;
  border-radius: calc(var(--tc-showcase-radius) + 12px);
}

.tc-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 32px 24px;
  background: var(--tc-glass);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
}

.tc-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.tc-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--tc-border);
  background: var(--tc-glass);
  color: var(--tc-text);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.tc-carousel-btn:hover { background: var(--tc-glass-hover); }

.tc-carousel-dots {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: var(--tc-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  isolation: isolate;
}

.tc-carousel-dots-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--tc-radius-pill);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.25s,
    filter 0.25s;
  will-change: transform, width, height;
}

.tc-carousel-dots-indicator.is-liquid-stretch {
  filter: brightness(1.06) saturate(1.12);
}

.tc-carousel-dots.is-ready .tc-carousel-dots-indicator {
  opacity: 1;
}

.tc-carousel-dots-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.tc-carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: var(--tc-radius-pill);
  border: none;
  background: transparent;
  color: var(--tc-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.tc-carousel-dot.is-active {
  color: var(--sp-accent-3);
  background: transparent;
}

/* ── News zone (below showcase carousel) ── */
.tc-news-zone {
  --tc-news-radius: 14px;
  --tc-news-cols: 3;
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: calc(var(--tc-radius-lg) + 8px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.32);
  border: 1px solid var(--tc-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 32px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.tc-news-head {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.tc-news-head .tc-kicker {
  margin-bottom: 8px;
}

.tc-news-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--tc-text);
}

.tc-news-lead {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--tc-text-muted);
  max-width: 640px;
}

.tc-news-feed {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.tc-news-grid .tc-news-feed {
  grid-template-columns: repeat(var(--tc-news-cols, 3), minmax(0, 1fr));
}

.tc-news-list .tc-news-feed,
.tc-news-compact .tc-news-feed {
  grid-template-columns: 1fr;
}

.tc-news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: calc(var(--tc-news-radius) + 6px);
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.32s, border-color 0.32s;
}

.tc-news-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.tc-news-card:hover {
  transform: translateY(-2px);
}

.tc-news-grid .tc-news-card.is-featured {
  grid-column: span 2;
}

@media (max-width: 991px) {
  .tc-news-grid .tc-news-feed {
    grid-template-columns: 1fr;
  }

  .tc-news-grid .tc-news-card.is-featured {
    grid-column: span 1;
  }
}

/* Card style variants */
.tc-news-card-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--tc-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tc-news-card-bordered {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--tc-border-strong);
}

.tc-news-card-minimal {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}

.tc-news-card-minimal:hover {
  transform: none;
  border-color: var(--tc-border);
  background: rgba(255, 255, 255, 0.03);
}

.tc-news-card-accent {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--sp-accent) 14%, rgba(255, 255, 255, 0.04)), rgba(0, 0, 0, 0.28));
  border: 1px solid color-mix(in srgb, var(--sp-accent-3) 35%, var(--tc-border));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 36px color-mix(in srgb, var(--sp-accent) 18%, transparent);
}

.tc-news-media {
  position: relative;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 1px solid var(--tc-border);
  background: rgba(0, 0, 0, 0.28);
}

.tc-news-ratio-16-9 .tc-news-media { aspect-ratio: 16 / 9; }
.tc-news-ratio-4-3 .tc-news-media { aspect-ratio: 4 / 3; }
.tc-news-ratio-1-1 .tc-news-media { aspect-ratio: 1 / 1; }
.tc-news-ratio-auto .tc-news-media {
  aspect-ratio: 16 / 9;
  max-height: 240px;
}

.tc-news-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.tc-news-card:hover .tc-news-media img {
  opacity: 0.92;
}

.tc-news-img-cover .tc-news-media img { object-fit: cover; }
.tc-news-img-contain .tc-news-media img {
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}
.tc-news-img-rounded .tc-news-media {
  margin: 12px 12px 0;
  border-radius: var(--tc-news-radius);
  border: 1px solid var(--tc-border);
  aspect-ratio: 16 / 9;
}
.tc-news-img-rounded .tc-news-media img { border-radius: var(--tc-news-radius); }
.tc-news-img-square .tc-news-media {
  aspect-ratio: 1 / 1;
  max-width: 120px;
  margin: 12px 0 0 12px;
  border-radius: var(--tc-news-radius);
  border: 1px solid var(--tc-border);
}
.tc-news-img-square .tc-news-media img { border-radius: var(--tc-news-radius); }
.tc-news-img-wide .tc-news-media { aspect-ratio: 21 / 9; }

.tc-news-list .tc-news-card-link,
.tc-news-compact .tc-news-card-link {
  flex-direction: row;
  align-items: stretch;
}

.tc-news-list .tc-news-media,
.tc-news-compact .tc-news-media {
  flex: 0 0 clamp(140px, 36%, 240px);
  width: clamp(140px, 36%, 240px);
  aspect-ratio: 16 / 9;
  align-self: center;
  border-bottom: none;
  border-right: 1px solid var(--tc-border);
}

.tc-news-list .tc-news-img-square .tc-news-media,
.tc-news-compact .tc-news-img-square .tc-news-media {
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-right: 1px solid var(--tc-border);
}

.tc-news-list .tc-news-body,
.tc-news-compact .tc-news-body {
  flex: 1;
  min-width: 0;
  border-bottom: none;
}

.tc-news-compact .tc-news-card {
  border-radius: calc(var(--tc-news-radius) + 2px);
}

.tc-news-compact .tc-news-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tc-news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(14px, 2vw, 18px);
  flex: 1;
  text-align: left;
}

.tc-news-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--tc-radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sp-accent-3);
  background: color-mix(in srgb, var(--sp-accent) 16%, rgba(255, 255, 255, 0.06));
  border: 1px solid color-mix(in srgb, var(--sp-accent-3) 30%, transparent);
}

.tc-news-item-title {
  display: block;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--tc-text);
}

.tc-news-card:hover .tc-news-item-title {
  color: var(--sp-accent-3);
}

.tc-news-summary {
  display: block;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--tc-text-muted);
  flex: 1;
}

.tc-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.tc-news-date {
  font-family: var(--tc-mono);
  font-size: 0.72rem;
  color: var(--tc-text-soft);
  letter-spacing: 0.02em;
}

.tc-news-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sp-accent-3);
  white-space: nowrap;
}

.tc-news-card:hover .tc-news-link {
  opacity: 0.85;
}

/* ── News detail page ── */
.tc-news-detail-main {
  padding: calc(var(--tc-header-h) + 32px) 0 80px;
}

.tc-news-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tc-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.tc-news-back:hover {
  color: var(--sp-accent-3);
}

.tc-news-detail {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 40px);
  border-radius: calc(var(--tc-radius-lg) + 8px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.32);
  border: 1px solid var(--tc-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 32px 80px rgba(0, 0, 0, 0.28);
}

.tc-news-detail h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.tc-news-detail-lead {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--tc-text-muted);
}

.tc-news-detail-media {
  margin: 20px 0 24px;
  overflow: hidden;
  border-radius: calc(var(--tc-news-radius, 14px) + 4px);
  border: 1px solid var(--tc-border);
  background: rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 9;
}

.tc-news-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tc-news-detail-body p {
  margin: 0 0 16px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--tc-text-muted);
}

.tc-news-detail-body p:last-child {
  margin-bottom: 0;
}

.tc-news-detail-empty {
  text-align: center;
}

.tc-news-detail-empty .tc-btn {
  margin-top: 20px;
}

/* ── Feature rows ── */
.tc-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tc-feature-row.is-reverse .tc-feature-grid { direction: rtl; }
.tc-feature-row.is-reverse .tc-feature-grid > * { direction: ltr; }

.tc-feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tc-feature-copy p {
  margin: 0;
  color: var(--tc-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.tc-media-shell {
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tc-border);
  background: var(--tc-glass);
  box-shadow: var(--tc-shadow);
}

.tc-media-shell img { width: 100%; }

/* ── Pricing ── */
.tc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tc-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--tc-radius-lg);
  background: var(--tc-glass);
  border: 1px solid var(--tc-border);
  transition: transform 0.25s, border-color 0.25s;
}

.tc-plan:hover { transform: translateY(-4px); border-color: var(--tc-border-strong); }

.tc-plan.is-featured {
  border-color: color-mix(in srgb, var(--sp-accent) 45%, transparent);
  background: color-mix(in srgb, var(--sp-accent) 8%, var(--tc-glass));
}

.tc-plan.tc-plan-enterprise {
  border-color: rgba(255, 215, 128, 0.28);
  background: linear-gradient(160deg, rgba(255,215,128,0.08), var(--tc-glass));
}

.tc-plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: var(--tc-radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 215, 128, 0.12);
  color: #ffd98a;
  border: 1px solid rgba(255, 215, 128, 0.25);
}

.tc-plan-badge.is-accent {
  background: color-mix(in srgb, var(--sp-accent) 18%, transparent);
  color: var(--sp-accent-3);
  border-color: color-mix(in srgb, var(--sp-accent) 30%, transparent);
}

.tc-plan-head h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.tc-plan-price span {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sp-accent-3);
}

.tc-plan-price del {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--tc-text-soft);
}

.tc-plan-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.tc-plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.tc-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--tc-border);
  font-size: 0.88rem;
  color: var(--tc-text-muted);
}

.tc-plan-features li:last-child { border-bottom: none; }

.tc-plan-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.tc-plan-features .is-yes .tc-plan-icon { color: var(--sp-accent-3); }
.tc-plan-features .is-no .tc-plan-icon { color: rgba(255, 120, 120, 0.7); }

.tc-plan-desc {
  flex: 1;
  margin: 0 0 28px;
  color: var(--tc-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.tc-pricing-light {
  background: #f4fbf8;
  color: #0f1a17;
  --tc-text: #0f1a17;
  --tc-text-muted: #5c6b66;
  --tc-text-soft: #8a9893;
  --tc-border: rgba(0, 0, 0, 0.08);
  --tc-border-strong: rgba(0, 0, 0, 0.12);
  --tc-glass: rgba(255, 255, 255, 0.85);
  --tc-glass-hover: #fff;
}

.tc-pricing-light .tc-plan-price span { color: var(--sp-accent); }

/* ── Enterprise ── */
.tc-enterprise-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--tc-radius-lg);
  border: 1px solid rgba(255, 215, 128, 0.22);
  background: linear-gradient(135deg, rgba(255,215,128,0.06), var(--tc-glass));
}

.tc-enterprise-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.tc-enterprise-note {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: rgba(255, 215, 128, 0.75);
}

.tc-enterprise-list {
  list-style: none;
  margin: 0;
  padding: 24px;
  border-radius: var(--tc-radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--tc-border);
}

.tc-enterprise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tc-border);
  font-size: 0.92rem;
  color: var(--tc-text-muted);
}

.tc-enterprise-list li:last-child { border-bottom: none; }

/* ── Download & Demos ── */
.tc-download-grid,
.tc-demos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tc-demo-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin-bottom: 14px;
  object-fit: cover;
}

.tc-backend-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--tc-radius-lg);
  border: 1px solid var(--tc-border);
  background: var(--tc-glass);
}

.tc-backend-strip h3 { margin: 0 0 6px; font-size: 1.1rem; }
.tc-backend-strip p { margin: 0; color: var(--tc-text-muted); font-size: 0.92rem; }

/* ── Footer ── */
.tc-footer {
  border-top: 1px solid var(--tc-border);
  background: #040807;
  padding-top: 72px;
}

.tc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.tc-footer-tagline {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--tc-text-soft);
}

.tc-footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tc-text-soft);
}

.tc-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.tc-footer-col a {
  font-size: 0.92rem;
  color: var(--tc-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.tc-footer-col a:hover { color: var(--sp-accent-3); }

.tc-footer-qr img {
  border-radius: 12px;
  border: 1px solid var(--tc-border);
}

.tc-footer-bottom {
  border-top: 1px solid var(--tc-border);
  padding: 24px 0;
}

.tc-footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--tc-text-soft);
}

.tc-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tc-border);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--sp-accent) 35%, transparent);
  transition: transform 0.2s;
}

.tc-back-top:hover { transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tc-proof-trust-grid { grid-template-columns: 1fr; }
  .tc-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .tc-download-grid,
  .tc-demos-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-footer-grid { grid-template-columns: 1fr 1fr; }
  .tc-enterprise-panel { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .tc-mobile-toggle { display: flex; }

  .tc-header.is-scrolled {
    background: color-mix(in srgb, var(--bg-mid) 92%, rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
  }

  .tc-header.is-scrolled::after {
    background: rgba(255, 255, 255, 0.12);
  }

  .tc-header-inner {
    gap: 10px;
  }

  .tc-header-brand {
    margin-left: 4px;
  }

  .tc-logo {
    max-width: min(180px, 52vw);
    padding: 6px 10px 6px 12px;
  }

  .tc-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    z-index: 1100;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    flex: none;
    margin-left: 0;
    margin-right: 0;
    padding: calc(var(--tc-header-h) + 24px) 24px 32px;
    border-radius: 0;
    background: var(--bg-mid, #0f241e);
    border: none;
    border-left: 0.5px solid rgba(255, 255, 255, 0.14);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .tc-nav-open .tc-nav-panel { transform: translateX(0); }

  .tc-nav { width: 100%; }

  .tc-nav-glass {
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .tc-nav-indicator { display: none; }

  .tc-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .tc-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: none;
  }

  .tc-nav .is-active a {
    color: #ffffff;
    font-weight: 800;
  }

  .tc-header-cta {
    width: 100%;
    margin-top: 16px;
    text-align: center;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }

  .tc-hero-grid,
  .tc-feature-grid,
  .tc-proof-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tc-proof-intro { text-align: center; }
  .tc-proof-intro .tc-lead { margin-inline: auto; }
  .tc-proof-actions { justify-content: center; }
  .tc-proof-stats { max-width: 520px; margin-inline: auto; }

  .tc-hero-desc { margin-inline: auto; }
  .tc-hero-pillars { justify-content: center; }
  .tc-hero-actions { justify-content: center; }
  .tc-feature-row.is-reverse .tc-feature-grid { direction: ltr; }

  .tc-backend-strip {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .tc-proof-stats { grid-template-columns: 1fr; }
  .tc-download-grid,
  .tc-demos-grid,
  .tc-footer-grid { grid-template-columns: 1fr; }
}

/* ── Mobile nav burger animation ── */
.tc-nav-open .tc-mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tc-nav-open .tc-mobile-toggle span:nth-child(2) { opacity: 0; }
.tc-nav-open .tc-mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Pay pages (checkout / return)
   =================================================================== */
.tc-pay-page {
  --tc-font: var(--tc-font, 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  font-family: var(--tc-font);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--sp-accent) 14%, transparent), transparent 55%),
    linear-gradient(165deg, var(--bg-deep), var(--bg-mid));
  color: #eef8f5;
}

.tc-pay-card {
  width: 100%;
  max-width: 520px;
  padding: 40px 32px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.tc-pay-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}

.tc-pay-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tc-pay-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.tc-pay-icon.is-success { background: color-mix(in srgb, var(--sp-accent) 20%, transparent); color: var(--sp-accent-3); }
.tc-pay-icon.is-pending { background: rgba(255, 193, 7, 0.15); color: #ffc857; }
.tc-pay-icon.is-error { background: rgba(255, 107, 107, 0.15); color: #ff8a80; }

.tc-pay-card h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.tc-pay-lead { color: rgba(238, 248, 245, 0.62); line-height: 1.65; margin-bottom: 24px; }

.tc-pay-meta {
  text-align: left;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.tc-pay-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-pay-meta-row:last-child { border-bottom: none; }
.tc-pay-meta-row span:first-child { color: rgba(238, 248, 245, 0.5); }
.tc-pay-meta-row span:last-child { font-weight: 600; text-align: right; word-break: break-all; }

.tc-pay-steps { text-align: left; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: step; }
.tc-pay-steps li {
  position: relative;
  padding: 0 0 14px 28px;
  color: rgba(238, 248, 245, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tc-pay-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sp-accent) 25%, transparent);
  color: var(--sp-accent-3);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-pay-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tc-pay-actions .tc-btn { min-width: 140px; }

.tc-pay-checkout .tc-pay-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--sp-accent-3);
  animation: tc-spin 0.85s linear infinite;
}

@keyframes tc-spin { to { transform: rotate(360deg); } }

.tc-pay-checkout-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(238, 248, 245, 0.68);
  font-size: 0.9rem;
  text-align: left;
}

.tc-pay-checkout-hint { margin: 0 0 20px; color: rgba(238, 248, 245, 0.45); font-size: 0.85rem; }

.tc-pay-checkout form.tc-pay-actions button.tc-btn { border: none; cursor: pointer; font-family: inherit; }

/* ===================================================================
   Check page (styles only — logic untouched)
   =================================================================== */
.tc-check-page {
  --tc-font: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
  --tc-border: rgba(255, 255, 255, 0.08);
  --tc-glass: rgba(255, 255, 255, 0.035);
  --tc-text-muted: rgba(238, 248, 245, 0.62);
  font-family: var(--tc-font);
  background: var(--bg-deep);
  color: #eef8f5;
}

  .tc-check-page .tc-header {
    background: color-mix(in srgb, var(--bg-mid) 86%, rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
  }

  .tc-check-page .tc-header::after { background: rgba(255, 255, 255, 0.12); }

.tc-check-page .tc-check-hero {
  padding: calc(var(--tc-header-h) + 48px) 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--sp-accent) 18%, transparent), transparent 55%),
    linear-gradient(165deg, var(--bg-deep), var(--bg-mid));
}

.tc-check-page .tc-check-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.tc-check-page .tc-check-hero p { color: var(--tc-text-muted); }

.tc-check-page .tc-check-card {
  max-width: 560px;
  margin: -48px auto 80px;
  padding: 40px;
  background: var(--tc-glass);
  border-radius: 22px;
  border: 1px solid var(--tc-border);
  box-shadow: var(--tc-shadow);
}

.tc-check-page .tc-check-field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tc-check-page .tc-check-field label { font-weight: 600; font-size: 0.92rem; }

.tc-check-page .tc-check-field input {
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--tc-border);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.tc-check-page .tc-check-field input:focus {
  outline: none;
  border-color: var(--sp-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sp-accent) 15%, transparent);
}

.tc-check-page .tc-check-submit {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

/* Legacy header classes for check.php if still using old markup */
.tc-check-page .header-menu > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tc-check-page .header-menu > ul > li > a {
  padding: 8px 12px;
  border-radius: var(--tc-radius-pill);
  font-size: 0.86rem;
  color: var(--tc-text-muted) !important;
  text-decoration: none;
}

.tc-check-page .header-menu > ul > li.active > a,
.tc-check-page .header-menu > ul > li:hover > a {
  color: var(--sp-accent-3) !important;
  background: var(--tc-glass);
}

@media (max-width: 991px) {
  .tc-check-page .menu--inner-area,
  .tc-check-page .tc-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    z-index: 1100;
    padding: 88px 24px 32px;
    background: color-mix(in srgb, var(--bg-mid) 96%, rgba(255, 255, 255, 0.03));
    border-left: 0.5px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.08),
      -16px 0 48px rgba(0, 0, 0, 0.38);
    transform: translateX(105%);
    transition: transform 0.38s;
  }

  .tc-nav-open .tc-check-page .menu--inner-area,
  .tc-nav-open .tc-check-page .tc-nav-panel { transform: translateX(0); }

  .tc-check-page .header-menu > ul { flex-direction: column; }
}
