/* TonyProxy landing page — dark, Apple HIG-inspired, no dependencies. */

:root {
  --tp-blue: #0a84ff;
  --tp-green: #30d158;
  --tp-red: #ff453a;
  --tp-orange: #ff9f0a;
  --tp-purple: #bf5af2;

  --tp-bg: #0d0d0f;
  --tp-bg-elevated: #111113;
  --tp-surface: #1c1c1e;
  --tp-surface-2: #232326;
  --tp-border: #2c2c2e;
  --tp-border-soft: rgba(255, 255, 255, 0.08);

  --tp-text: #f5f5f7;
  --tp-text-secondary: #8e8e93;
  --tp-text-tertiary: #636366;

  --tp-radius-sm: 8px;
  --tp-radius-md: 14px;
  --tp-radius-lg: 22px;
  --tp-radius-xl: 28px;

  --tp-container: 1180px;
  --tp-space-section: clamp(5rem, 4rem + 5vw, 9rem);

  --tp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tp-dur: 220ms;
  --tp-dur-reveal: 600ms;
  --tp-dur-screenshot: 700ms;
  --tp-dur-float: 10s;
  --tp-dur-aurora: 25s;

  --tp-font-display: -apple-system, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tp-font-text: -apple-system, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tp-font-mono: "SF Mono", ui-monospace, "Menlo", monospace;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .tp-hero-visual { animation: none !important; }
  .tp-aurora-blob { display: none !important; }
  .tp-live-traffic { display: none !important; }
}

/* ---------- Keyframes ---------- */

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

@keyframes tp-aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -20px) scale(1.05); }
  66% { transform: translate(-30px, 15px) scale(0.95); }
}

@keyframes tp-aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-35px, 25px) scale(0.97); }
  66% { transform: translate(25px, -15px) scale(1.03); }
}

@keyframes tp-aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1.02); }
  50% { transform: translate(20px, -30px) scale(0.98); }
}

@keyframes tp-traffic-fade {
  0% { opacity: 0; transform: translateY(6px); }
  15% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

body {
  background: var(--tp-bg);
  color: var(--tp-text);
  font-family: var(--tp-font-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.tp-container {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

section { position: relative; }

.tp-section-pad { padding: var(--tp-space-section) 0; }

.tp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-blue);
  margin-bottom: 1rem;
}
.tp-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tp-blue);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.18);
}

.tp-heading-xl {
  font-family: var(--tp-font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 2rem + 3vw, 4.4rem);
  line-height: 1.05;
}

.tp-heading-lg {
  font-family: var(--tp-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 1.6rem + 1.6vw, 2.9rem);
  line-height: 1.12;
}

.tp-section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.tp-section-head p {
  color: var(--tp-text-secondary);
  font-size: 1.08rem;
  margin-top: 1rem;
}

.tp-lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--tp-text-secondary);
  max-width: 46ch;
}

.tp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--tp-dur-reveal) var(--tp-ease), transform var(--tp-dur-reveal) var(--tp-ease);
}
.tp-reveal.is-visible { opacity: 1; transform: none; }

.tp-reveal .tp-window {
  transition: opacity var(--tp-dur-screenshot) var(--tp-ease), transform var(--tp-dur-screenshot) var(--tp-ease);
}
.tp-reveal:not(.is-visible) .tp-window {
  opacity: 0;
  transform: scale(0.94);
}

.tp-reveal--stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--tp-dur-reveal) var(--tp-ease), transform var(--tp-dur-reveal) var(--tp-ease);
}
.tp-reveal--stagger.is-visible > * { opacity: 1; transform: none; }
.tp-reveal--stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.tp-reveal--stagger.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.tp-reveal--stagger.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.tp-reveal--stagger.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.tp-reveal--stagger.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.tp-reveal--stagger.is-visible > *:nth-child(6) { transition-delay: 350ms; }
.tp-reveal--stagger.is-visible > *:nth-child(n+7) { transition-delay: 420ms; }

/* ---------- Nav ---------- */

.tp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tp-dur) var(--tp-ease);
}
.tp-nav.is-scrolled { border-bottom-color: var(--tp-border-soft); }

.tp-nav-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--tp-blue);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
}

.tp-nav .tp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.tp-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.tp-brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(155deg, #3aa0ff, var(--tp-blue) 55%, #0060d1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 1px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.tp-brand-mark svg { width: 15px; height: 15px; color: white; }

.tp-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.tp-nav-links a {
  font-size: 0.9rem;
  color: var(--tp-text-secondary);
  transition: color var(--tp-dur) var(--tp-ease);
}
.tp-nav-links a:hover { color: var(--tp-text); }
.tp-nav-links a.is-active { color: var(--tp-text); }

.tp-nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.tp-lang-switcher {
  background: transparent;
  border: 1px solid var(--tp-border-soft);
  border-radius: 6px;
  color: var(--tp-text-secondary);
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
}
.tp-lang-switcher option { background: #151517; color: var(--tp-text); }

@media (max-width: 760px) {
  .tp-nav-links { display: none; }
}

/* ---------- Buttons ---------- */

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--tp-font-text);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--tp-dur) var(--tp-ease), background var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease), box-shadow var(--tp-dur) var(--tp-ease);
  white-space: nowrap;
}
.tp-btn:hover { transform: translateY(-2px); }
.tp-btn:active { transform: scale(0.97); }

.tp-btn-primary {
  background: var(--tp-blue);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px rgba(10,132,255,0.65);
}
.tp-btn-primary:hover { background: #2c96ff; box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 28px -6px rgba(10,132,255,0.75); filter: brightness(1.08); }

.tp-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--tp-text);
  border-color: var(--tp-border-soft);
}
.tp-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); }

.tp-btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

.tp-btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */

.tp-hero {
  padding: calc(64px + 5.5rem) 0 2rem;
  text-align: center;
  overflow: hidden;
}

.tp-hero-glow {
  position: absolute;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 640px;
  background: radial-gradient(ellipse at center, rgba(10,132,255,0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.tp-aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(200px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.tp-aurora-blob--1 {
  width: 600px; height: 400px;
  top: -120px; left: 15%;
  background: rgba(10, 132, 255, 0.12);
  animation: tp-aurora-drift-1 var(--tp-dur-aurora) ease-in-out infinite;
}
.tp-aurora-blob--2 {
  width: 500px; height: 350px;
  top: 60px; right: 10%;
  background: rgba(191, 90, 242, 0.10);
  animation: tp-aurora-drift-2 var(--tp-dur-aurora) ease-in-out infinite;
  animation-delay: -8s;
}
.tp-aurora-blob--3 {
  width: 450px; height: 300px;
  top: 200px; left: 40%;
  background: rgba(48, 209, 88, 0.08);
  animation: tp-aurora-drift-3 calc(var(--tp-dur-aurora) * 1.2) ease-in-out infinite;
  animation-delay: -15s;
}

.tp-hero > .tp-container { position: relative; z-index: 1; }

.tp-hero h1 { max-width: 15ch; margin: 0 auto 1.4rem; }
.tp-hero h1 .tp-accent { color: var(--tp-blue); }

.tp-hero .tp-lede { margin: 0 auto 2.2rem; text-align: center; }

.tp-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.tp-hero-meta {
  font-size: 0.82rem;
  color: var(--tp-text-tertiary);
  margin-bottom: 3.5rem;
}

.tp-tagline-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-family: var(--tp-font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--tp-text-secondary);
  margin-bottom: 4rem;
}
.tp-tagline-strip span:nth-child(odd) { color: var(--tp-text); }
.tp-tagline-strip .tp-dot { color: var(--tp-blue); font-size: 0.6em; }

/* ---------- macOS window chrome ---------- */

.tp-window {
  background: linear-gradient(180deg, #1a1a1c, #151517);
  border: 1px solid var(--tp-border-soft);
  border-radius: var(--tp-radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.75), 0 10px 30px -12px rgba(0,0,0,0.6);
  overflow: hidden;
}

.tp-window-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--tp-border-soft);
}
.tp-traffic { display: flex; gap: 6px; }
.tp-traffic span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.tp-traffic span:nth-child(1) { background: #ff5f57; }
.tp-traffic span:nth-child(2) { background: #febc2e; }
.tp-traffic span:nth-child(3) { background: #28c840; }
.tp-window-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--tp-text-tertiary);
  font-weight: 500;
  margin-right: 44px;
}

/* Real app screenshots, dropped inside the .tp-window chrome */
.tp-window img { display: block; width: 100%; height: auto; }

/* Main window mockup */

.tp-hero-visual {
  margin-top: 0;
  animation: tp-float var(--tp-dur-float) ease-in-out infinite;
  will-change: transform;
}
.tp-mockup-main { display: grid; grid-template-columns: 190px 1fr 260px; min-height: 380px; }
@media (max-width: 860px) { .tp-mockup-main { grid-template-columns: 0px 1fr; } .tp-mockup-main .tp-mockup-sidebar, .tp-mockup-main .tp-mockup-detail { display: none; } }

.tp-mockup-sidebar {
  border-right: 1px solid var(--tp-border-soft);
  padding: 0.9rem 0.7rem;
  text-align: left;
}
.tp-mockup-sidebar h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tp-text-tertiary);
  margin: 0.9rem 0 0.4rem 0.4rem;
}
.tp-mockup-sidebar h4:first-child { margin-top: 0.1rem; }
.tp-sess-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  font-size: 0.78rem;
  color: var(--tp-text-secondary);
}
.tp-sess-row.is-active { background: rgba(10,132,255,0.18); color: var(--tp-text); }
.tp-sess-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tp-green); flex-shrink: 0; }
.tp-sess-dot.is-off { background: var(--tp-text-tertiary); }

.tp-mockup-list { padding: 0; text-align: left; overflow: hidden; }
.tp-list-head {
  display: grid;
  grid-template-columns: 52px 1fr 56px 70px;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tp-text-tertiary);
  border-bottom: 1px solid var(--tp-border-soft);
}
.tp-row {
  display: grid;
  grid-template-columns: 52px 1fr 56px 70px;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--tp-text-secondary);
}
.tp-row.is-selected { background: rgba(10,132,255,0.12); color: var(--tp-text); }
.tp-row .tp-path { color: var(--tp-text); font-family: var(--tp-font-mono); font-size: 0.74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tp-method {
  font-family: var(--tp-font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  width: fit-content;
}
.tp-method-get { color: var(--tp-green); background: rgba(48,209,88,0.14); }
.tp-method-post { color: var(--tp-orange); background: rgba(255,159,10,0.14); }
.tp-method-put { color: var(--tp-blue); background: rgba(10,132,255,0.14); }
.tp-method-delete { color: var(--tp-red); background: rgba(255,69,58,0.14); }

.tp-status { font-family: var(--tp-font-mono); font-size: 0.72rem; font-weight: 600; }
.tp-status-2xx { color: var(--tp-green); }
.tp-status-3xx { color: var(--tp-blue); }
.tp-status-4xx, .tp-status-5xx { color: var(--tp-red); }

.tp-mockup-detail {
  border-left: 1px solid var(--tp-border-soft);
  padding: 0.9rem;
  text-align: left;
  font-size: 0.76rem;
}
.tp-mockup-detail h5 { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tp-text-tertiary); margin-bottom: 0.6rem; }
.tp-json-line { font-family: var(--tp-font-mono); font-size: 0.74rem; line-height: 1.7; white-space: pre; }
.tp-json-key { color: #7ee0ff; }
.tp-json-str { color: #ffd479; }
.tp-json-num { color: #bf5af2; }
.tp-json-punc { color: var(--tp-text-tertiary); }

/* ---------- Philosophy ---------- */

.tp-philosophy { text-align: center; }
.tp-strike {
  color: var(--tp-text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(255,69,58,0.5);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.tp-philosophy h2 {
  max-width: 20ch;
  margin: 0 auto 3rem;
}
.tp-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tp-chip {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 980px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  color: var(--tp-text);
}
.tp-chain-arrow { color: var(--tp-text-tertiary); font-size: 0.9rem; }
.tp-philosophy .tp-outcome { font-size: 1.1rem; font-weight: 600; color: var(--tp-green); }

/* ---------- Bento feature grid ---------- */

.tp-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) { .tp-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tp-bento { grid-template-columns: 1fr; } }

.tp-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  padding: 1.6rem;
  transition: transform var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease), background var(--tp-dur) var(--tp-ease);
}
.tp-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.18); background: var(--tp-surface-2); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5), 0 4px 12px -4px rgba(0,0,0,0.3); }

.tp-card--wide { grid-column: span 2; }
@media (max-width: 560px) { .tp-card--wide { grid-column: span 1; } }

.tp-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.tp-card-icon svg { width: 19px; height: 19px; }
.tp-icon-blue { background: rgba(10,132,255,0.16); color: var(--tp-blue); }
.tp-icon-green { background: rgba(48,209,88,0.16); color: var(--tp-green); }
.tp-icon-orange { background: rgba(255,159,10,0.16); color: var(--tp-orange); }
.tp-icon-purple { background: rgba(191,90,242,0.16); color: var(--tp-purple); }
.tp-icon-red { background: rgba(255,69,58,0.16); color: var(--tp-red); }

.tp-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.tp-card p { font-size: 0.88rem; color: var(--tp-text-secondary); }
.tp-card .tp-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tp-card .tp-card-tags span {
  font-size: 0.7rem;
  color: var(--tp-text-tertiary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--tp-border-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* ---------- Showcase (alternating screenshots) ---------- */

.tp-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--tp-border-soft);
}
.tp-showcase-row:last-child { border-bottom: none; }
.tp-showcase-row.tp-reverse .tp-showcase-copy { order: 2; }
@media (max-width: 860px) {
  .tp-showcase-row { grid-template-columns: 1fr; }
  .tp-showcase-row.tp-reverse .tp-showcase-copy { order: 0; }
}

.tp-showcase-copy .tp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tp-blue);
  margin-bottom: 0.8rem;
}
.tp-showcase-copy h3 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); margin-bottom: 0.9rem; letter-spacing: -0.02em; font-family: var(--tp-font-display); font-weight: 600; }
.tp-showcase-copy p { color: var(--tp-text-secondary); margin-bottom: 1.2rem; }
.tp-showcase-copy ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.tp-showcase-copy li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: var(--tp-text); }
.tp-showcase-copy li svg { width: 16px; height: 16px; color: var(--tp-green); flex-shrink: 0; margin-top: 0.2rem; }

.tp-showcase-visual .tp-window { transform: perspective(1400px) rotateY(0deg); }

/* Breakpoint mockup */
.tp-mockup-breakpoint { padding: 1.1rem; text-align: left; }
.tp-bp-banner {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,159,10,0.14);
  color: var(--tp-orange);
  font-size: 0.76rem; font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.9rem;
}
.tp-bp-field { margin-bottom: 0.7rem; }
.tp-bp-field label { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tp-text-tertiary); margin-bottom: 0.3rem; }
.tp-bp-input {
  font-family: var(--tp-font-mono);
  font-size: 0.78rem;
  color: var(--tp-text);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 7px;
  padding: 0.5rem 0.7rem;
}
.tp-bp-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }

/* Map Local mockup */
.tp-mockup-maplocal { padding: 1.3rem; text-align: left; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.tp-maplocal-node {
  width: 100%;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.78rem;
  font-family: var(--tp-font-mono);
}
.tp-maplocal-node.is-local { border-color: rgba(48,209,88,0.4); }
.tp-maplocal-arrow { color: var(--tp-text-tertiary); font-size: 1.1rem; }

/* Session manager mockup */
.tp-mockup-sessions { padding: 1rem; text-align: left; }
.tp-sess-toolbar { display: flex; gap: 0.5rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.tp-sess-toolbar span {
  font-size: 0.72rem;
  color: var(--tp-text-secondary);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  padding: 0.35rem 0.7rem;
  border-radius: 7px;
}
.tp-sess-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  margin-bottom: 0.5rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
}
.tp-sess-card .tp-sess-name { font-size: 0.86rem; font-weight: 500; }
.tp-sess-card .tp-sess-meta { font-size: 0.72rem; color: var(--tp-text-tertiary); }

/* ---------- Analytics ---------- */

.tp-analytics-window { padding: 1.3rem; }
.tp-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-bottom: 1.3rem; text-align: left; }
@media (max-width: 700px) { .tp-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.tp-stat {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 1rem 1.1rem;
}
.tp-stat .tp-stat-label { font-size: 0.72rem; color: var(--tp-text-tertiary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.tp-stat .tp-stat-value { font-size: 1.5rem; font-weight: 700; font-family: var(--tp-font-display); letter-spacing: -0.02em; }
.tp-stat .tp-stat-value.is-up { color: var(--tp-green); }
.tp-stat .tp-stat-value.is-down { color: var(--tp-red); }

.tp-analytics-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.9rem; text-align: left; }
@media (max-width: 700px) { .tp-analytics-charts { grid-template-columns: 1fr; } }
.tp-chart-card { background: var(--tp-surface); border: 1px solid var(--tp-border); border-radius: var(--tp-radius-md); padding: 1.1rem; }
.tp-chart-card h5 { font-size: 0.74rem; color: var(--tp-text-tertiary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1rem; }

.tp-bars { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.tp-bars div { flex: 1; background: linear-gradient(180deg, var(--tp-blue), rgba(10,132,255,0.35)); border-radius: 3px 3px 0 0; }

.tp-donut {
  width: 92px; height: 92px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  background: conic-gradient(var(--tp-green) 0 68%, var(--tp-blue) 68% 84%, var(--tp-orange) 84% 94%, var(--tp-red) 94% 100%);
  position: relative;
}
.tp-donut::after {
  content: "";
  position: absolute; inset: 14px;
  border-radius: 50%;
  background: var(--tp-surface);
}
.tp-legend { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.76rem; }
.tp-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.tp-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

.tp-domain-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; margin-bottom: 0.55rem; }
.tp-domain-row .tp-domain-name { width: 120px; flex-shrink: 0; color: var(--tp-text-secondary); font-family: var(--tp-font-mono); font-size: 0.72rem; }
.tp-domain-bar-track { flex: 1; height: 6px; background: var(--tp-border); border-radius: 3px; overflow: hidden; }
.tp-domain-bar { height: 100%; background: var(--tp-blue); border-radius: 3px; }

/* ---------- Export formats ---------- */

.tp-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.tp-format-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease);
}
.tp-format-pill:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.2); }
.tp-format-pill .tp-format-dot { width: 8px; height: 8px; border-radius: 2px; }

/* ---------- TonyPack ---------- */

.tp-pack-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.tp-pack-machine {
  width: 180px;
  text-align: center;
}
.tp-pack-machine .tp-window { text-align: left; }
.tp-pack-machine .tp-mockup-mini { padding: 1rem 0.8rem; }
.tp-pack-machine .tp-mockup-mini .tp-row-mini { height: 8px; border-radius: 3px; background: var(--tp-border); margin-bottom: 6px; }
.tp-pack-machine .tp-row-mini:nth-child(2) { width: 80%; }
.tp-pack-machine .tp-row-mini:nth-child(3) { width: 60%; }
.tp-pack-machine-label { margin-top: 0.8rem; font-size: 0.82rem; color: var(--tp-text-secondary); }

.tp-pack-transfer { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.tp-pack-file {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(155deg, #3aa0ff, var(--tp-blue) 60%, #0060d1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(10,132,255,0.6);
}
.tp-pack-file svg { width: 30px; height: 30px; color: white; }
.tp-pack-transfer .tp-pack-ext { font-family: var(--tp-font-mono); font-size: 0.72rem; color: var(--tp-text-tertiary); }
.tp-pack-arrow { color: var(--tp-text-tertiary); font-size: 1.4rem; }

.tp-pack-fields { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }

/* ---------- Why grid ---------- */

.tp-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .tp-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tp-why-grid { grid-template-columns: 1fr; } }
.tp-why-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  font-size: 0.9rem;
  font-weight: 500;
}
.tp-why-item svg { width: 18px; height: 18px; color: var(--tp-green); flex-shrink: 0; }

/* ---------- Who is it for ---------- */

.tp-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.tp-audience-item {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
}
.tp-audience-item .tp-card-icon { margin: 0 auto 0.9rem; }
.tp-audience-item span { font-size: 0.88rem; font-weight: 500; }

/* ---------- Workflow ---------- */

.tp-workflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ---------- Privacy ---------- */

.tp-privacy { max-width: 640px; margin: 0 auto; text-align: center; }

/* ---------- Story / Open Development ---------- */

.tp-story { max-width: 680px; margin: 0 auto; text-align: center; }
.tp-story-body { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.tp-story-body p { color: var(--tp-text-secondary); font-size: 0.98rem; }
.tp-story-signature { margin-top: 1.5rem; font-size: 0.95rem; font-weight: 600; }

/* ---------- FAQ ---------- */

.tp-faq { max-width: 760px; margin: 0 auto; }
.tp-faq-item {
  border-bottom: 1px solid var(--tp-border-soft);
  padding: 1.3rem 0;
}
.tp-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
  font-weight: 500;
}
.tp-faq-item summary::-webkit-details-marker { display: none; }
.tp-faq-item summary .tp-faq-plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform var(--tp-dur) var(--tp-ease);
}
.tp-faq-item summary .tp-faq-plus::before,
.tp-faq-item summary .tp-faq-plus::after {
  content: "";
  position: absolute;
  background: var(--tp-text-secondary);
}
.tp-faq-item summary .tp-faq-plus::before { width: 9px; height: 1.4px; }
.tp-faq-item summary .tp-faq-plus::after { width: 1.4px; height: 9px; }
.tp-faq-item[open] summary .tp-faq-plus { transform: rotate(45deg); }
.tp-faq-item p { color: var(--tp-text-secondary); margin-top: 0.9rem; max-width: 60ch; }

/* ---------- CTA band ---------- */

.tp-cta {
  text-align: center;
  padding: var(--tp-space-section) 0;
  background: radial-gradient(ellipse at center, rgba(10,132,255,0.12), transparent 70%);
  border-top: 1px solid var(--tp-border-soft);
}
.tp-cta h2 { margin-bottom: 1rem; }
.tp-cta .tp-lede { margin: 0 auto 2rem; }
.tp-cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tp-cta-note { font-size: 0.82rem; color: var(--tp-text-tertiary); }

/* ---------- Footer ---------- */

.tp-footer { border-top: 1px solid var(--tp-border-soft); padding: 3rem 0 2.5rem; }
.tp-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.tp-footer-brand p { color: var(--tp-text-secondary); font-size: 0.88rem; margin-top: 0.6rem; max-width: 32ch; }
.tp-footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.tp-footer-col h6 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tp-text-tertiary); margin-bottom: 0.9rem; }
.tp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.tp-footer-col a {
  font-size: 0.88rem;
  color: var(--tp-text-secondary);
  position: relative;
}
.tp-footer-col a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--tp-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--tp-dur) var(--tp-ease);
}
.tp-footer-col a:hover { color: var(--tp-text); }
.tp-footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.tp-footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--tp-border-soft);
  font-size: 0.8rem;
  color: var(--tp-text-tertiary);
}

/* ---------- Product tabs (segmented control) ---------- */

.tp-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 980px;
}
.tp-tab {
  font-family: var(--tp-font-text);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tp-text-secondary);
  background: transparent;
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 980px;
  cursor: pointer;
  transition: background var(--tp-dur) var(--tp-ease), color var(--tp-dur) var(--tp-ease);
}
.tp-tab:hover { color: var(--tp-text); }
.tp-tab.is-active { background: var(--tp-blue); color: white; }

/* ---------- Forms ---------- */

.tp-form { display: grid; gap: 1.1rem; }

.tp-field { display: grid; gap: 0.45rem; }
.tp-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tp-text-secondary);
}

.tp-input, .tp-textarea, .tp-select {
  font-family: var(--tp-font-text);
  font-size: 0.95rem;
  color: var(--tp-text);
  background: var(--tp-bg-elevated);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color var(--tp-dur) var(--tp-ease), box-shadow var(--tp-dur) var(--tp-ease);
}
.tp-input:focus, .tp-textarea:focus, .tp-select:focus {
  outline: none;
  border-color: var(--tp-blue);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.18);
}
.tp-textarea { resize: vertical; min-height: 120px; font-family: var(--tp-font-text); }

.tp-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}

/* ---------- Alert banner (form submit result) ---------- */

.tp-alert {
  border-radius: var(--tp-radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  border: 1px solid;
}
.tp-alert-success {
  background: rgba(48,209,88,0.1);
  border-color: rgba(48,209,88,0.35);
  color: var(--tp-green);
}
.tp-alert-error {
  background: rgba(255,69,58,0.1);
  border-color: rgba(255,69,58,0.35);
  color: var(--tp-red);
}

/* ---------- Long-form content (legal pages) ---------- */

.tp-prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--tp-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}
.tp-prose h1 { display: none; } /* title already rendered in the hero */
.tp-prose h2 {
  font-family: var(--tp-font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--tp-text);
  letter-spacing: -0.01em;
  margin: 2.6rem 0 0.9rem;
}
.tp-prose h2:first-child { margin-top: 0; }
.tp-prose p { margin-bottom: 1.1rem; }
.tp-prose ul, .tp-prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.5rem;
}
.tp-prose a { color: var(--tp-blue); text-decoration: underline; text-underline-offset: 2px; }
.tp-prose strong { color: var(--tp-text); }

.tp-prose-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
}
.tp-prose-toc a {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tp-text-secondary);
  text-decoration: none;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  padding: 0.4rem 0.9rem;
  border-radius: 980px;
  transition: color var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease);
}
.tp-prose-toc a:hover { color: var(--tp-text); border-color: rgba(255,255,255,0.25); }

/* ---------- Vertical timeline ---------- */

.tp-timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
}
.tp-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--tp-border);
}
.tp-timeline-item {
  position: relative;
  color: var(--tp-text-secondary);
  font-size: 0.98rem;
}
.tp-timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--tp-blue);
  box-shadow: 0 0 0 4px var(--tp-bg-elevated);
}
.tp-timeline-item strong { color: var(--tp-text); font-weight: 600; }

/* ---------- Live traffic animation ---------- */

.tp-live-traffic {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tp-traffic-line {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--tp-font-mono);
  font-size: 0.72rem;
  color: var(--tp-text-tertiary);
  opacity: 0;
  white-space: nowrap;
  animation: tp-traffic-fade 4s ease-in-out forwards;
}

.tp-traffic-line .tp-traffic-method {
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.tp-traffic-method--get { color: var(--tp-green); background: rgba(48,209,88,0.1); }
.tp-traffic-method--post { color: var(--tp-orange); background: rgba(255,159,10,0.1); }

.tp-traffic-line .tp-traffic-status {
  font-weight: 600;
  font-size: 0.65rem;
}
.tp-traffic-status--2xx { color: rgba(48,209,88,0.6); }
.tp-traffic-status--3xx { color: rgba(10,132,255,0.6); }

/* ---------- Lightbox ---------- */

.tp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--tp-ease), visibility 0s 300ms;
}
.tp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms var(--tp-ease), visibility 0s 0s;
}

.tp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(120%) blur(24px);
  -webkit-backdrop-filter: saturate(120%) blur(24px);
}

.tp-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
  transform: scale(0.92);
  transition: transform 400ms var(--tp-ease);
}
.tp-lightbox.is-open .tp-lightbox-content {
  transform: scale(1);
}

.tp-lightbox-img-wrap {
  position: relative;
  border-radius: var(--tp-radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  background: linear-gradient(180deg, #1a1a1c, #151517);
  border: 1px solid var(--tp-border-soft);
}

.tp-lightbox-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--tp-border-soft);
}

.tp-lightbox-img-wrap img {
  display: block;
  max-width: 85vw;
  max-height: calc(88vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 250ms ease, transform 250ms ease;
}

.tp-lightbox-img-wrap img.is-sliding-left {
  opacity: 0;
  transform: translateX(-40px);
}
.tp-lightbox-img-wrap img.is-sliding-right {
  opacity: 0;
  transform: translateX(40px);
}

.tp-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--tp-border-soft);
  background: rgba(28, 28, 30, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tp-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease), transform var(--tp-dur) var(--tp-ease);
}
.tp-lightbox-nav:hover {
  background: rgba(44, 44, 46, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.08);
}
.tp-lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
}
.tp-lightbox-nav svg {
  width: 18px;
  height: 18px;
}
.tp-lightbox-prev { left: -60px; }
.tp-lightbox-next { right: -60px; }

@media (max-width: 980px) {
  .tp-lightbox-prev { left: 12px; }
  .tp-lightbox-next { right: 12px; }
}

.tp-lightbox-footer {
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
}

.tp-lightbox-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.tp-lightbox-counter {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tp-text-tertiary);
  white-space: nowrap;
}

.tp-lightbox-info-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--tp-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tp-dur) var(--tp-ease), color var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease);
}
.tp-lightbox-info-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--tp-text);
  border-color: rgba(255, 255, 255, 0.35);
}
.tp-lightbox-info-btn svg { width: 15px; height: 15px; }

.tp-lightbox-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 350ms var(--tp-ease), opacity 250ms var(--tp-ease), margin 250ms var(--tp-ease);
  margin-top: 0;
  background: rgba(28, 28, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--tp-border-soft);
  border-radius: var(--tp-radius-md);
  padding: 0 1.2rem;
}
.tp-lightbox-info.is-open {
  max-height: 280px;
  opacity: 1;
  margin-top: 10px;
  padding: 1rem 1.2rem;
}

.tp-lightbox-info-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tp-blue);
  margin-bottom: 0.4rem;
}
.tp-lightbox-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.tp-lightbox-info p {
  font-size: 0.85rem;
  color: var(--tp-text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.tp-lightbox-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
}
.tp-lightbox-info li {
  font-size: 0.82rem;
  color: var(--tp-text-secondary);
  padding-left: 1rem;
  position: relative;
}
.tp-lightbox-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tp-green);
}

.tp-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--tp-border-soft);
  background: rgba(28, 28, 30, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tp-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tp-dur) var(--tp-ease), color var(--tp-dur) var(--tp-ease);
}
.tp-lightbox-close:hover {
  background: rgba(44, 44, 46, 0.9);
  color: var(--tp-text);
}
.tp-lightbox-close svg {
  width: 16px;
  height: 16px;
}

.tp-lightbox-source {
  cursor: zoom-in;
}

