@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- BRAND VARIABLES & TOKENS --- */
:root {
  --color-brand-50:  #fff5ee;
  --color-brand-100: #ffe6d5;
  --color-brand-200: #ffc6a3;
  --color-brand-300: #ff9f6a;
  --color-brand-400: #ff7a3a;
  --color-brand-500: #ff5a1f; /* primary accent: turbo orange */
  --color-brand-600: #e63e0a;
  --color-brand-700: #b62f08;
  --color-brand-800: #7d2106;
  --color-brand-900: #441103;

  --color-ink-50:  #f8fafc;
  --color-ink-100: #f1f5f9;
  --color-ink-200: #e2e8f0;
  --color-ink-300: #cbd5e1;
  --color-ink-400: #94a3b8;
  --color-ink-500: #64748b;
  --color-ink-600: #475569;
  --color-ink-700: #334155;
  --color-ink-800: #1e293b;
  --color-ink-900: #0f172a;
  --color-ink-950: #020617; /* page background */

  /* Module colors */
  --color-mod-pos:      #7c3aed;
  --color-mod-voice:    #ec4899;
  --color-mod-barcode:  #3b82f6;
  --color-mod-bulk:     #f97316;
  --color-mod-discount: #10b981;
  --color-mod-scraper:  #8b5cf6;
  --color-mod-api:      #06b6d4;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- RESET & GLOBAL RULES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-ink-950);
  color: var(--color-ink-100);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- SELECTION & FOCUS --- */
::selection {
  background-color: var(--color-brand-500);
  color: white;
}

*:focus-visible {
  outline: 2px solid var(--color-brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- WRAPPER Aislado para WordPress --- */
.trs-page-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--color-ink-950);
  color: var(--color-ink-100);
  font-family: var(--font-sans);
}

.container-page {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container-page {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* --- COMPONENTES COMUNES (Tailwind replication) --- */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-300);
  backdrop-filter: blur(4px);
}

.h-display {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .h-display {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .h-display {
    font-size: 3.75rem;
  }
}

.h-section {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .h-section {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .h-section {
    font-size: 3rem;
  }
}

.lead {
  font-size: 1rem;
  color: var(--color-ink-300);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .lead {
    font-size: 1.25rem;
  }
}

.card-glass {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- BOTONES --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-brand-500) 0%, var(--color-brand-600) 100%);
  box-shadow: 0 8px 30px -8px rgba(255, 90, 31, 0.6);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 12px 40px -8px rgba(255, 90, 31, 0.9);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-pro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 8px 30px -8px rgba(225, 29, 72, 0.6);
  transition: all 0.2s ease;
  border: 1px solid rgba(244, 63, 94, 0.4);
  cursor: pointer;
  text-decoration: none;
}

.btn-pro:hover {
  box-shadow: 0 12px 40px -8px rgba(225, 29, 72, 0.9);
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.8);
}

.btn-pro:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-ink-100);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-300);
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.btn-ghost:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- ESTRUCTURAS DE FONDO (Stripe-like) --- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.bg-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 20% 0%, rgba(255, 90, 31, 0.12), transparent 40%),
    radial-gradient(700px circle at 80% 30%, rgba(124, 58, 237, 0.1), transparent 45%),
    radial-gradient(800px circle at 50% 100%, rgba(16, 185, 129, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.text-gradient-brand {
  background: linear-gradient(135deg, #ff7a3a 0%, #ff5a1f 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- REVELADO CON SCROLL --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- CABECERA (NAVBAR) --- */
.trs-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.trs-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(2, 6, 23, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.trs-header .container-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trs-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.trs-logo img {
  width: 32px;
  height: 32px;
}

.trs-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .trs-nav {
    display: flex;
  }
}

.trs-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-300);
  transition: color 0.2s ease;
}

.trs-nav-link:hover {
  color: #ffffff;
}

.trs-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- HERO SECTION --- */
.trs-hero {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .trs-hero {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .trs-hero {
    padding-top: 4rem;
    padding-bottom: 7rem;
  }
}

.trs-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 640px) {
  .trs-hero-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .trs-hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  .trs-hero-copy {
    grid-column: span 7;
  }
  .trs-hero-artwork-desktop {
    grid-column: span 5;
  }
}

.trs-hero-artwork-mobile {
  display: block;
  margin: 1.25rem 0 1.5rem;
  width: 100%;
}

.trs-hero-artwork-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .trs-hero-artwork-mobile {
    display: none;
  }
  .trs-hero-artwork-desktop {
    display: block;
  }
}

.trs-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .trs-hero-buttons .btn-primary,
  .trs-hero-buttons .btn-pro,
  .trs-hero-buttons .btn-secondary {
    width: 100%;
  }
}

.trs-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .trs-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.trs-stat-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.01);
  padding: 0.75rem 0.85rem;
}

.trs-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-400);
}

.trs-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.2rem;
}

.trs-hero-artwork-mobile,
.trs-hero-artwork-desktop,
.trs-hero-artwork {
  position: relative;
}

.trs-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -10;
  filter: blur(64px);
  opacity: 0.45;
  background: linear-gradient(135deg, var(--color-brand-500) 0%, #d946ef 50%, #8b5cf6 100%);
  border-radius: 9999px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

.trs-hero-img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  animation: float 6s ease-in-out infinite;
}

/* Compatibilidad Strip */
.trs-compat-strip {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 640px) {
  .trs-compat-strip {
    margin-top: 4.5rem;
    padding-top: 2.5rem;
  }
}

.trs-compat-title {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink-500);
  margin-bottom: 1rem;
}

.trs-compat-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .trs-compat-logos {
    gap: 2rem 2.5rem;
    opacity: 0.65;
  }
}

.trs-compat-logos:hover {
  opacity: 1;
}

.trs-compat-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink-300);
}

@media (min-width: 640px) {
  .trs-compat-logo {
    font-size: 1.125rem;
  }
}

/* --- PROBLEM SECTION --- */
.trs-problem {
  position: relative;
  padding: 2.75rem 0;
}

@media (min-width: 640px) {
  .trs-problem {
    padding: 4.5rem 0;
  }
}

@media (min-width: 1024px) {
  .trs-problem {
    padding: 6rem 0;
  }
}

.trs-problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .trs-problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
  }
}

.trs-problem-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .trs-problem-card {
    padding: 2rem;
  }
}

.trs-problem-icon {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.trs-problem-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.trs-problem-text {
  color: var(--color-ink-400);
  font-size: 0.9rem;
  line-height: 1.55;
}

.trs-problem-footer {
  margin-top: 2.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .trs-problem-footer {
    margin-top: 4.5rem;
  }
}

.trs-problem-footer-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 640px) {
  .trs-problem-footer-text {
    font-size: 2.25rem;
  }
}

/* --- ECOSYSTEM/MODULES SECTION --- */
.trs-modules {
  position: relative;
  padding: 6rem 0;
}

.trs-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 5rem;
}

@media (min-width: 768px) {
  .trs-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trs-modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trs-module-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trs-module-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.trs-badge-edition {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-ink-300);
}

.trs-badge-edition.pro {
  border-color: rgba(240, 70, 250, 0.3);
  background-color: rgba(240, 70, 250, 0.1);
  color: #f472b6;
}

.trs-badge-edition.lite {
  border-color: rgba(16, 185, 129, 0.3);
  background-color: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.trs-tag-name {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-ink-400);
  background-color: rgba(255,255,255,0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.trs-module-artwork {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.04), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trs-module-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.trs-module-card:hover .trs-module-artwork img {
  transform: scale(1.05);
}

.trs-module-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.2;
}

.trs-module-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.trs-module-claim {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.trs-module-description {
  color: var(--color-ink-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.trs-module-features-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.trs-module-features-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-ink-300);
}

.trs-module-features-list svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Modul-specific identities (glows y colores) */
.glow-pos      { box-shadow: 0 0 60px -25px rgba(124, 58, 237, 0.55); }
.glow-voice    { box-shadow: 0 0 60px -25px rgba(236, 72, 153, 0.55); }
.glow-barcode  { box-shadow: 0 0 60px -25px rgba(59, 130, 246, 0.55); }
.glow-bulk     { box-shadow: 0 0 60px -25px rgba(249, 115, 22, 0.55); }
.glow-discount { box-shadow: 0 0 60px -25px rgba(16, 185, 129, 0.55); }
.glow-scraper  { box-shadow: 0 0 60px -25px rgba(139, 92, 246, 0.55); }
.glow-api      { box-shadow: 0 0 60px -25px rgba(6, 182, 212, 0.55); }

/* --- DEMO SECTION --- */
.trs-demo {
  position: relative;
  padding: 4rem 0 6rem 0;
}

.trs-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .trs-demo-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .trs-demo-controls {
    grid-column: span 5;
  }
  .trs-demo-screen {
    grid-column: span 7;
  }
}

.trs-tab-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.demo-tab {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.01);
  cursor: pointer;
  transition: all 0.25s ease;
}

.demo-tab:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.03);
}

.demo-tab.active {
  border-color: rgba(255, 90, 31, 0.4);
  background-color: rgba(255, 90, 31, 0.05);
}

.demo-tab-label {
  font-weight: 700;
  color: #ffffff;
}

.demo-tab-desc {
  font-size: 0.85rem;
  color: var(--color-ink-400);
  margin-top: 0.25rem;
}

.trs-demo-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-color: var(--color-ink-900);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.trs-video-player {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-ink-900) 0%, var(--color-ink-950) 100%);
}

.trs-play-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: rgba(255, 90, 31, 0.15);
  border: 2px solid var(--color-brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.trs-play-btn:hover {
  transform: scale(1.05);
  background-color: rgba(255, 90, 31, 0.3);
  box-shadow: 0 0 30px rgba(255, 90, 31, 0.3);
}

.trs-play-btn svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.trs-video-title {
  color: var(--color-ink-200);
  font-size: 1.125rem;
  font-weight: 500;
}

.trs-video-subtitle {
  color: var(--color-ink-500);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* --- COMPARISON SECTION --- */
.trs-comparative {
  position: relative;
  padding: 6rem 0;
}

.trs-comparative-wrapper {
  margin-top: 4rem;
}

.trs-table-responsive {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.015);
}

.trs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.trs-table th,
.trs-table td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trs-table tr:last-child td {
  border-bottom: none;
}

.trs-table thead tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
}

.trs-table th {
  padding: 1.25rem;
  font-weight: 700;
}

.trs-table th:first-child {
  color: var(--color-ink-400);
  font-weight: 500;
}

.trs-table th:not(:first-child) {
  white-space: nowrap;
}

.trs-table th.highlight-col {
  color: var(--color-brand-400);
}

.trs-table td:not(:first-child) {
  font-size: 1.5rem;
  font-weight: 700;
}

.trs-table td.highlight-col {
  background-color: rgba(255, 90, 31, 0.04);
}

.trs-comparative-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-ink-500);
  margin-top: 1rem;
}

/* --- PRICING SECTION --- */
.trs-pricing {
  position: relative;
  padding: 6rem 0;
}

.trs-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .trs-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trs-price-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.trs-price-card.featured {
  border-color: rgba(255, 90, 31, 0.4);
  background: linear-gradient(to bottom, rgba(255, 90, 31, 0.06), transparent);
  box-shadow: 0 0 100px -20px rgba(255, 90, 31, 0.35);
}

.trs-price-card-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  border-radius: 9999px;
  background-color: var(--color-brand-500);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
}

.trs-price-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.trs-price-prod-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.trs-price-ed-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trs-price-ed-label.pro { color: var(--color-brand-400); }
.trs-price-ed-label.lite { color: #34d399; }

.trs-price-desc {
  color: var(--color-ink-400);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.trs-price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.trs-price-number {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.trs-price-period {
  color: var(--color-ink-400);
  font-size: 0.95rem;
}

.trs-price-features-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trs-price-features-list li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: var(--color-ink-200);
  font-size: 0.95rem;
}

.trs-price-features-list svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.trs-price-features-list svg.pro { color: var(--color-brand-400); }
.trs-price-features-list svg.lite { color: #10b981; }

.trs-price-footer-note {
  text-align: center;
  color: var(--color-ink-400);
  margin-top: 2.5rem;
}

.trs-price-footer-note strong {
  color: #ffffff;
}

.trs-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.trs-billing-opt {
  border: 0;
  background: transparent;
  color: var(--color-ink-300);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.trs-billing-opt.is-active {
  background: var(--color-brand-500);
  color: #ffffff;
}

.trs-billing-save {
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-right: 0.5rem;
}

.trs-price-billnote {
  color: var(--color-ink-400);
  font-size: 0.85rem;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
}

/* --- FAQ SECTION --- */
.trs-faq {
  position: relative;
  padding: 6rem 0;
}

.trs-faq-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trs-faq-details {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.trs-faq-details:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.trs-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.5rem;
  color: #ffffff;
  font-weight: 600;
  user-select: none;
  list-style: none;
}

.trs-faq-summary::-webkit-details-marker {
  display: none;
}

.trs-faq-summary svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-ink-400);
  transition: transform 0.3s ease;
}

.trs-faq-details[open] .trs-faq-summary svg {
  transform: rotate(180deg);
}

.trs-faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-ink-300);
  line-height: 1.625;
}

/* --- FINAL CTA SECTION --- */
.trs-final-cta {
  position: relative;
  padding: 6rem 0;
}

.trs-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, var(--color-brand-600) 0%, #e11d48 50%, #7c3aed 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(255, 90, 31, 0.15);
}

@media (min-width: 640px) {
  .trs-cta-box {
    padding: 4rem 3rem;
  }
}

.trs-cta-box .bg-grid {
  opacity: 0.2;
}

.trs-cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .trs-cta-title {
    font-size: 3.5rem;
  }
}

.trs-cta-title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.trs-cta-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.trs-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.trs-cta-buttons .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  color: var(--color-ink-950);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.trs-cta-buttons .btn-white:hover {
  background-color: var(--color-ink-100);
  transform: translateY(-2px);
}

.trs-cta-buttons .btn-blur {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.trs-cta-buttons .btn-blur:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* --- FOOTER --- */
.trs-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
  padding: 4rem 0 2rem 0;
  background-color: rgba(2, 6, 23, 0.4);
}

.trs-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .trs-footer-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
  }
  .trs-footer-brand {
    grid-column: span 4;
  }
  .trs-footer-col {
    grid-column: span 2;
  }
}

.trs-footer-brand p {
  color: var(--color-ink-400);
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.trs-social-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trs-social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-300);
  transition: all 0.2s ease;
}

.trs-social-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.trs-footer-col h4 {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.trs-footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.trs-footer-links-list a {
  font-size: 0.875rem;
  color: var(--color-ink-400);
  transition: color 0.2s ease;
}

.trs-footer-links-list a:hover {
  color: #ffffff;
}

.trs-footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-ink-500);
}

@media (min-width: 640px) {
  .trs-footer-bottom {
    flex-direction: row;
  }
}
