/* =============================================================
   1. TOKENS — Dark Premium palette from WavChat brand
   ============================================================= */
:root {
  /* Backgrounds — pure black */
  --bg:          #000000;
  --bg-2:        #000000;
  --bg-3:        #000000;
  --bg-card:     #000000;

  /* Text — near-white with cool tint */
  --ink:         #e8eeff;
  --ink-soft:    rgba(232, 238, 255, 0.72);
  --ink-muted:   rgba(232, 238, 255, 0.40);

  /* Accent — silver-white on dark for clean premium contrast */
  --accent:      #e0ecfb;
  --accent-dark: #a8c4e0;
  --accent-2:    #5a7898;
  --accent-glow: rgba(200, 220, 250, 0.20);

  /* Lines & glass */
  --line:        rgba(232, 238, 255, 0.07);
  --glass:       rgba(255, 255, 255, 0.04);
  --glass-2:     rgba(255, 255, 255, 0.02);
  --glass-border:rgba(255, 255, 255, 0.09);

  /* Typography */
  --display: "Manrope", system-ui, sans-serif;
  --sans:    "Inter",   system-ui, sans-serif;

  /* Layout */
  --container:  1280px;
  --gutter:     clamp(1.25rem, 5vw, 2.5rem);
  --section-v:  clamp(4rem, 10vw, 8rem);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior:  smooth;
  overflow-x:       clip;
  color-scheme:     dark;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family:             var(--sans);
  font-size:               16px;
  line-height:             1.65;
  color:                   var(--ink);
  background:              var(--bg);
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering:          optimizeLegibility;
  overflow-x:              clip;
  overscroll-behavior-y:   none;
}

img, svg, video { display: block; max-width: 100%; }
img  { height: auto; }
a    { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
p   { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family:    var(--display);
  text-wrap:      balance;
  line-height:    1.08;
  letter-spacing: -0.025em;
  color:          var(--ink);
}

::selection { background: var(--accent); color: var(--bg); }
:focus-visible {
  outline:        2px solid var(--accent);
  outline-offset: 3px;
  border-radius:  4px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--accent); color: var(--bg);
  border-radius: var(--r-sm); font-weight: 700;
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

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

/* DEFENSIVE: data-split elements must never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. CUSTOM CURSOR
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0; transition: opacity .3s var(--ease-out);
  display: none;
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px;
  background: var(--accent); border-radius: 50%;
}
.cursor-ring {
  width: 28px; height: 28px; margin: -14px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  opacity: .5;
  transition:
    width .35s var(--ease-out), height .35s var(--ease-out),
    margin .35s var(--ease-out), opacity .35s;
}
.cursor.is-hover .cursor-ring { width: 44px; height: 44px; margin: -22px; opacity: .8; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   5. GLASS CARDS — dark edition
   ============================================================= */
.glass-card {
  background:    rgba(255, 255, 255, 0.035);
  border:        1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow:    0 4px 32px rgba(0, 0, 0, 0.40);
  backdrop-filter:         blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}

@supports not (backdrop-filter: blur(1px)) {
  .glass-card { background: var(--bg-card); }
}

.glass-card--featured {
  background:   rgba(200, 220, 250, 0.06);
  border-color: rgba(200, 220, 250, 0.22);
  box-shadow:   0 8px 48px rgba(200, 220, 250, 0.12), 0 4px 32px rgba(0,0,0,0.40);
}

@media (hover: hover) {
  .glass-card:hover {
    transform:   translateY(-4px);
    border-color:rgba(200, 220, 250, 0.18);
    box-shadow:  0 16px 48px rgba(0,0,0,0.50), 0 0 0 1px rgba(200,220,250,0.10);
  }
  .glass-card--featured:hover {
    border-color: rgba(200, 220, 250, 0.35);
    box-shadow:   0 16px 60px rgba(200,220,250,0.18);
  }
}

/* =============================================================
   6. BUTTONS
   ============================================================= */
.btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             .5rem;
  font-family:     var(--display);
  font-weight:     700;
  font-size:       clamp(.85rem, 1.5vw, 1rem);
  letter-spacing:  -0.01em;
  padding:         .8rem 1.8rem;
  border-radius:   var(--r-xl);
  white-space:     nowrap;
  transition:
    transform .35s var(--ease-out),
    box-shadow .35s var(--ease-out),
    background .25s, border-color .25s;
}

/* Primary — white on dark: maximum contrast */
.btn-primary {
  background:   #ffffff;
  color:        #04070e;
  box-shadow:   none;
  border-color: transparent;
  font-weight:  700;
  letter-spacing: .01em;
}
.btn-primary:hover {
  background: var(--accent);
  color:      #04070e;
  box-shadow: none;
  transform:  translateY(-1px);
}

/* Ghost */
.btn-ghost {
  background:   transparent;
  color:        rgba(232,238,255,0.70);
  border:       1.5px solid rgba(232,238,255,0.14);
}
.btn-ghost:hover {
  color:         var(--ink);
  border-color:  rgba(200,220,250,0.35);
  background:    rgba(200,220,250,0.05);
  transform:     translateY(-2px);
}

/* Outline */
.btn-outline {
  background:  transparent;
  color:       rgba(232,238,255,0.60);
  border:      1.5px solid rgba(232,238,255,0.12);
}
.btn-outline:hover {
  border-color:rgba(200,220,250,0.40);
  color:       var(--accent);
  transform:   translateY(-2px);
}

.btn-full  { width: 100%; }
.btn-large { padding: 1.1rem 2.6rem; font-size: clamp(1rem, 1.8vw, 1.15rem); }

/* Nav CTA */
.btn-nav {
  font-size:    .8rem;
  padding:      .5rem 1.25rem;
  background:   #ffffff;
  color:        #04070e;
  border-color: transparent;
  font-weight:  700;
  box-shadow:   none;
}
.btn-nav:hover {
  background:  var(--accent);
  color:       #04070e;
  box-shadow:  none;
  transform:   translateY(-1px);
}

/* =============================================================
   7. NAV
   ============================================================= */
.nav {
  position:   fixed;
  top: 0; left: 0; right: 0;
  z-index:    900;
  padding:    .9rem 0;
  transition: background .4s var(--ease-soft), box-shadow .4s;
}

.nav.is-scrolled {
  background:      rgba(5, 8, 14, 0.90);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:      0 1px 0 rgba(232,238,255,0.06);
}

@supports not (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: rgba(5,8,14,0.97); }
}

.nav-inner {
  display:     flex;
  align-items: center;
  gap:         1.5rem;
}

/* Logo image */
.nav-logo-img {
  height:         28px;
  width:          auto;
  mix-blend-mode: screen;
  background:     transparent;
  display: block;
  transition: opacity .2s;
}
.nav-logo:hover .nav-logo-img { opacity: .75; }

.footer-logo-img {
  height: 24px;
  width:  auto;
  display: block;
}

/* Logo SVG */
.nav-logo {
  display:     flex;
  align-items: center;
  flex-shrink: 0;
  color:       var(--ink);
}
.nav-logo svg {
  height: 28px;
  width:  auto;
  transition: opacity .2s;
}
.nav-logo:hover svg { opacity: .75; }

.nav-links {
  display:     flex;
  align-items: center;
  gap:         .15rem;
  margin-left: auto;
}

.nav-link {
  font-size:    .9rem;
  font-weight:  500;
  color:        rgba(232,238,255,0.55);
  padding:      .4rem .8rem;
  border-radius:var(--r-sm);
  transition:   color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: rgba(255,255,255,0.06); }

.nav-burger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        .5rem;
  margin-left:    auto;
}
.nav-burger span {
  display:    block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  position:        fixed;
  inset:           0;
  background:      rgba(5, 8, 14, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index:         899;
  display:         flex;
  align-items:     center;
  justify-content: center;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile ul {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            1.75rem;
}
.nav-mobile-link {
  font-family: var(--display);
  font-weight: 700;
  font-size:   clamp(1.5rem, 5vw, 2rem);
  color:       rgba(232,238,255,0.60);
  transition:  color .2s;
}
.nav-mobile-link:hover  { color: var(--ink); }
.nav-mobile-cta { color: var(--accent); }

/* =============================================================
   8. SECTION COMMON
   ============================================================= */
.section-header {
  text-align:   center;
  max-width:    680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-tag {
  display:        inline-block;
  font-size:      .62rem;
  font-weight:    600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color:          var(--ink-muted);
  background:     transparent;
  border:         none;
  padding:        0;
  border-radius:  0;
  margin-bottom:  1.25rem;
}

.section-title {
  font-size:   clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color:       var(--ink);
  margin-bottom: .75rem;
}
.section-title em {
  font-style: italic;
  color:      var(--accent);
}

.section-sub {
  font-size:  clamp(1rem, 1.8vw, 1.15rem);
  color:      var(--ink-muted);
  max-width:  540px;
  margin-inline: auto;
}

/* =============================================================
   9. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity:   0;
  transform: translateY(28px);
  transition:
    opacity   .6s var(--ease-out) var(--delay, 0s),
    transform .6s var(--ease-out) var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   10. HERO — dark premium, angular geometry
   ============================================================= */
.hero {
  position:      relative;
  min-height:    100vh;
  min-height:    100svh;
  padding-top:   clamp(5.5rem, 12vw, 7rem);
  padding-bottom:clamp(4rem, 8vw, 6rem);
  overflow:      hidden;
  background:    var(--bg);
}

/* Subtle angular planes — matches brand background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0; z-index: 0;
  background:
    /* Left diagonal light edge */
    linear-gradient(155deg, transparent 46%, rgba(10,18,35,0.7) 46%, rgba(10,18,35,0.7) 47%, transparent 47%),
    /* Right diagonal */
    linear-gradient(25deg,  transparent 46%, rgba(8,15,28,0.5)  46%, rgba(8,15,28,0.5)  47%, transparent 47%);
  pointer-events: none;
}

/* Light streak — bottom left, like brand image */
.hero::after {
  content: '';
  position: absolute;
  left: 0; bottom: 28%;
  width: 42%; height: 1px;
  background: linear-gradient(90deg, rgba(100,160,255,0.18), transparent 70%);
  transform: rotate(-22deg);
  transform-origin: left center;
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

/* Green atmospheric mesh — hidden for pure black bg */
.hero-mesh {
  display: none;
}

@keyframes meshDrift {
  0%,100% { transform: scale(1)    rotate(0deg); }
  33%      { transform: scale(1.08) rotate(6deg); }
  66%      { transform: scale(1.04) rotate(-4deg); }
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: .04;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero-grid {
  position:               relative; z-index: 2;
  display:                grid;
  grid-template-columns:  1fr;
  gap:                    3rem;
  align-items:            center;
}

.hero-copy {
  display:        flex;
  flex-direction: column;
  gap:            1.5rem;
  animation:      heroFadeIn .9s var(--ease-out) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display:     flex;
  align-items: center;
  gap:         .6rem;
  font-size:   .8rem;
  font-weight: 600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:       rgba(232,238,255,0.45);
}
.hero-pulse {
  display:      block;
  width:        8px; height: 8px;
  border-radius:50%;
  background:   var(--accent);
  box-shadow:   0 0 0 0 rgba(200,220,250,.5);
  animation:    pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(200,220,250,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(200,220,250,0); }
  100% { box-shadow: 0 0 0 0   rgba(200,220,250,0); }
}

.hero-title {
  font-size:  clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight:800;
  line-height:1.06;
  color:      var(--ink);
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size:  clamp(1rem, 1.8vw, 1.18rem);
  color:      var(--ink-soft);
  max-width:  520px;
  line-height:1.6;
}

.hero-actions {
  display:  flex;
  flex-wrap:wrap;
  gap:      .75rem;
  align-items:center;
}

/* Trust stats */
.hero-trust {
  display:  flex;
  flex-wrap:wrap;
  gap:      1rem 1.5rem;
  padding-top:.25rem;
}
.hero-stat {
  display:        flex;
  flex-direction: column;
  gap:            .1rem;
}
.hero-stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size:   1.5rem;
  color:       var(--ink);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color:     var(--ink-muted);
  font-weight:500;
}
.hero-stat-sep {
  width:      1px; height: 2.5rem;
  background: var(--line);
  align-self: center;
}

/* ---- Phone mockup ---- */
.hero-visual {
  display:         flex;
  justify-content: center;
  animation: heroFadeIn .9s .2s var(--ease-out) both;
}

.phone-wrap { position: relative; display: inline-block; }

.phone {
  position:     relative;
  width:        clamp(220px, 32vw, 288px);
  aspect-ratio: 9 / 19;
  background:   #000000;
  border-radius:var(--r-xl);
  overflow:     hidden;
  box-shadow:
    0 70px 120px rgba(0,0,0,0.70),
    0 35px 60px  rgba(0,0,0,0.40),
    0 0 0 1px rgba(232,238,255,0.07),
    inset 0 0 0 1px rgba(232,238,255,0.04);
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(-1deg); }
}

.phone-notch {
  position:      absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 30%; height: 22px;
  background:    #000000;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-screen { display: flex; flex-direction: column; height: 100%; }

/* WhatsApp-style chat header */
.chat-header {
  display:     flex;
  align-items: center;
  gap:         .6rem;
  padding:     .9rem .8rem .6rem;
  background:  #075e54;
  flex-shrink: 0;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display:        flex;
  align-items:    center;
  justify-content:center;
  font-family:    var(--display);
  font-weight:    800;
  font-size:      .7rem;
  color:          #fff;
  flex-shrink:    0;
}
.chat-name   { font-size: .72rem; font-weight: 700; color: #fff; }
.chat-status { font-size: .62rem; color: rgba(255,255,255,.75); }
.chat-dots   { color: rgba(255,255,255,.7); font-size: .9rem; margin-left: auto; }
.chat-meta   { display: flex; flex-direction: column; flex: 1; min-width: 0; }

/* Chat bubbles */
.chat-body {
  flex:       1;
  padding:    .75rem .65rem;
  background: #000000;
  overflow:   hidden;
  display:    flex;
  flex-direction:column;
  gap:        .55rem;
}

.bubble {
  max-width:    84%;
  padding:      .5rem .75rem;
  border-radius:var(--r-md);
  font-size:    .72rem;
  line-height:  1.45;
  opacity:      0;
  animation:    bubbleIn .5s var(--ease-out) forwards;
}
.bubble-in {
  align-self:   flex-start;
  background:   #1e2d3d;
  color:        #d0e0f0;
  border-radius:4px var(--r-md) var(--r-md) var(--r-md);
}
.bubble-out {
  align-self:   flex-end;
  background:   #1a4731;
  color:        #b8f5d0;
  border-radius:var(--r-md) 4px var(--r-md) var(--r-md);
}

.b1 { animation-delay: 0.7s; }
.b2 { animation-delay: 1.6s; }
.b3 { animation-delay: 2.7s; }
.b4 { animation-delay: 3.6s; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(.95); }
  to   { opacity: 1; transform: none; }
}

.bubble-typing {
  align-self:   flex-start;
  background:   #1e2d3d;
  border-radius:4px var(--r-md) var(--r-md) var(--r-md);
  padding:      .65rem .75rem;
  display:      flex;
  gap:          4px;
  align-items:  center;
  animation-delay: 4.8s;
}
.bubble-typing span {
  display: block; width: 5px; height: 5px;
  border-radius: 50%; background: rgba(200,225,255,0.5);
  animation: typingDot 1s ease-in-out infinite;
}
.bubble-typing span:nth-child(2) { animation-delay: .18s; }
.bubble-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot {
  0%,80%,100% { transform: translateY(0); opacity: .5; }
  40%          { transform: translateY(-5px); opacity: 1; }
}

/* Phone glow */
.phone-glow {
  position:      absolute;
  inset:         -25%; z-index: -1;
  background:    radial-gradient(circle at 50% 55%, rgba(200,220,250,0.22) 0%, transparent 65%);
  filter:        blur(50px);
  pointer-events:none;
}

/* Floating badges */
.phone-badge {
  position:        absolute;
  background:      rgba(13, 20, 34, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border:          1px solid rgba(200,220,250,0.22);
  border-radius:   var(--r-md);
  padding:         .45rem .9rem;
  font-size:       .72rem;
  font-weight:     700;
  color:           var(--ink);
  white-space:     nowrap;
  box-shadow:      0 4px 20px rgba(0,0,0,0.40);
  animation:       badgeFloat 6s ease-in-out infinite;
}
.phone-badge-1 { left: -70px; top: 22%; }
.phone-badge-2 { right: -55px; bottom: 28%; animation-delay: 1.5s; }
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* =============================================================
   11. PROBLEMA
   ============================================================= */
.problema { padding-block: var(--section-v); background: var(--bg-2); }
.problema-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.problema-card { padding: 2rem; }
.card-icon {
  width:           40px;
  height:          40px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(200, 220, 250, 0.05);
  border:          1px solid rgba(200, 220, 250, 0.10);
  border-radius:   10px;
  margin-bottom:   1.25rem;
  color:           rgba(232, 238, 255, 0.60);
  flex-shrink:     0;
}
.card-icon svg { width: 18px; height: 18px; display: block; }
.glass-card--featured .card-icon {
  background:   rgba(200, 220, 250, 0.09);
  border-color: rgba(200, 220, 250, 0.18);
  color:        var(--ink);
}
.card-title    { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.card-desc     { font-size: .95rem; color: var(--ink-muted); line-height: 1.65; }

/* =============================================================
   12. SOLUCIÓN
   ============================================================= */
.solucion {
  padding-block: var(--section-v);
  position:      relative;
  overflow:      hidden;
  background:    var(--bg);
}

.solucion-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(at 80% 20%, rgba(200,220,250,0.10) 0%, transparent 55%),
    radial-gradient(at 10% 80%, rgba(18,140,126,0.10) 0%, transparent 55%);
  filter: blur(60px);
  pointer-events:none;
}
.solucion .container { position: relative; z-index: 1; }

.flujos-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.flujo-card {
  padding:  2rem 2rem 2.25rem;
  position: relative;
}

.flujo-featured-badge {
  position:   absolute;
  top:        -13px; left: 50%;
  transform:  translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color:      var(--bg);
  font-size:  .72rem;
  font-weight:700;
  letter-spacing:.06em;
  padding:    .3rem .9rem;
  border-radius:var(--r-xl);
  white-space:nowrap;
}

.flujo-num {
  font-family:    var(--display);
  font-size:      3rem; font-weight: 800;
  color:          rgba(200,220,250,0.15);
  line-height:    1; margin-bottom: .5rem;
  letter-spacing: -.04em;
}
.glass-card--featured .flujo-num { color: rgba(200,220,250,0.25); }

.flujo-title  { font-size: 1.18rem; font-weight: 800; margin-bottom: .6rem; }
.flujo-desc   { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.65; }
.flujo-list   { display: flex; flex-direction: column; gap: .4rem; }
.flujo-list li {
  font-size:  .88rem; color: var(--ink-muted);
  padding-left:1.2rem; position: relative;
}
.flujo-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* =============================================================
   13. CÓMO FUNCIONA
   ============================================================= */
.como-funciona { padding-block: var(--section-v); background: var(--bg-2); }

.steps-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: .5rem; letter-spacing: -.04em;
}
.step-line  { display: none; }
.step-title { font-size: .88rem; font-weight: 800; margin-bottom: 0; }
.step-desc  { font-size: .95rem; color: var(--ink-muted); line-height: 1.65; }

/* Step number — clean cyan, no glow */
.step-num {
  font-size:    36px;
  color:        #00D4FF;
  text-shadow:  none;
  line-height:  1;
  position:     relative;
  z-index:      1;
  animation:    none;
  margin-bottom: .5rem;
}

/* Glow orb — hidden */
.step-num-wrap {
  position:      relative;
  display:       inline-block;
  margin-bottom: .5rem;
}
.step-num-glow { display: none; }

/* Collapsible body */
.step-body {
  max-height: 0;
  overflow:   hidden;
  opacity:    0;
  transition: max-height .4s ease, opacity .3s ease, padding-top .3s ease;
  padding-top: 0;
}
.step-card.is-open .step-body {
  max-height:  200px;
  opacity:     1;
  padding-top: .65rem;
}

/* Step card — container + interactive */
[data-step-card] {
  background:    rgba(0, 212, 255, 0.05);
  border:        1px solid rgba(0, 212, 255, 0.2) !important;
  border-radius: 16px;
  padding:       12px;
  max-width:     260px;
  cursor:        pointer;
  transition:    border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
[data-step-card]:hover {
  border-color: rgba(0, 212, 255, 0.55) !important;
  box-shadow:   0 0 20px rgba(0,212,255,0.2), 0 8px 32px rgba(0,0,0,0.4) !important;
}
[data-step-card].is-open {
  border-color: rgba(0, 212, 255, 0.70) !important;
  box-shadow:   0 0 28px rgba(0,212,255,0.25), 0 8px 32px rgba(0,0,0,0.4) !important;
}

/* Callout row */
.steps-callout-row {
  display:        flex;
  flex-direction: column;
  gap:            1.5rem;
  align-items:    center;
}
.steps-img-wrap {
  border-radius: var(--r-lg);
  overflow:      hidden;
  width:         100%;
  max-width:     560px;
}
.steps-img-wrap img {
  width: 100%; height: 260px;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.8);
  transition: filter .5s var(--ease-out);
}
.steps-img-wrap:hover img { filter: brightness(0.85) saturate(1); }

.steps-callout {
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
  max-width: 440px; width: 100%;
}
.callout-icon {
  width:  40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,220,250,0.06); border: 1px solid rgba(200,220,250,0.12);
  border-radius: 10px; flex-shrink: 0; color: var(--ink-soft);
}
.callout-icon svg { width: 18px; height: 18px; display: block; }
.steps-callout blockquote p {
  font-size:   1.05rem; font-style: italic;
  color:       var(--ink-soft); line-height: 1.55;
}
.steps-callout blockquote footer {
  font-size: .82rem; color: var(--ink-muted);
  font-style: normal; margin-top: .5rem;
}

/* =============================================================
   14. INDUSTRIAS
   ============================================================= */
.industrias { padding-block: var(--section-v); background: var(--bg); }

.industrias-grid {
  display:   flex;
  flex-wrap: wrap;
  gap:       .7rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.ind-item {
  display:     flex;
  align-items: center;
  gap:         .5rem;
  background:  rgba(255,255,255,0.04);
  border:      1px solid rgba(232,238,255,0.08);
  border-radius:var(--r-xl);
  padding:     .65rem 1.2rem;
  transition:  transform .3s var(--ease-out), border-color .3s, background .3s;
  cursor:      default;
}
.ind-item:hover {
  transform:    translateY(-3px);
  border-color: rgba(200,220,250,0.30);
  background:   rgba(200,220,250,0.06);
}
.ind-icon { font-size: 1.2rem; }
.ind-name { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }

.industrias-note {
  text-align: center;
  font-size:  .95rem;
  color:      var(--ink-muted);
}
.link-accent {
  color:              var(--accent);
  font-weight:        600;
  text-decoration:    underline;
  text-underline-offset: 3px;
}

/* =============================================================
   15. TESTIMONIOS
   ============================================================= */
.testimonios {
  padding-block: var(--section-v);
  background:    var(--bg-2);
  position:      relative;
  overflow:      hidden;
}
.testimonios-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(at 20% 50%, rgba(124,58,237,0.07) 0%, transparent 55%),
    radial-gradient(at 85% 30%, rgba(200,220,250,0.08) 0%, transparent 55%);
  filter: blur(60px); pointer-events:none;
}
.testimonios .container { position: relative; z-index: 1; }

.testimonios-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.test-card { padding: 2rem; position: relative; }
.test-placeholder-tag {
  display:         inline-block;
  font-size:       .72rem; font-weight: 700;
  letter-spacing:  .08em; text-transform: uppercase;
  color:           var(--ink-muted);
  background:      rgba(255,255,255,0.05);
  border-radius:   var(--r-xl);
  padding:         .2rem .7rem; margin-bottom: 1rem;
}
.test-quote     { font-size: 1.02rem; font-style: italic; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1rem; }
.test-footer    { display: flex; align-items: center; gap: .75rem; }
.test-avatar    { font-size: 2rem; }
.test-author    { font-size: .9rem; font-weight: 700; }
.test-role      { font-size: .8rem; color: var(--ink-muted); }

/* =============================================================
   16. PRECIOS
   ============================================================= */
.precios { padding-block: var(--section-v); background: var(--bg); }
.precios-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.plan-card { padding: 2rem; display: flex; flex-direction: column; gap: .75rem; position: relative; }

.plan-badge {
  position:     absolute; top: -13px; left: 50%;
  transform:    translateX(-50%);
  background:   linear-gradient(90deg, var(--accent), var(--accent-2));
  color:        var(--bg);
  font-size:    .72rem; font-weight: 700; letter-spacing: .06em;
  padding:      .3rem .9rem; border-radius: var(--r-xl); white-space: nowrap;
}
.plan-name  { font-family: var(--display); font-size: 1.3rem; font-weight: 800; }
.plan-price { font-family: var(--display); font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.plan-desc  { font-size: .9rem; color: var(--ink-muted); padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.plan-feats { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.plan-feats li { font-size: .9rem; color: var(--ink-soft); }

/* =============================================================
   17. FAQ
   ============================================================= */
.faq      { padding-block: var(--section-v); background: var(--bg-2); }
.faq-wrap { max-width: 760px; }

.faq-list {
  display:        flex;
  flex-direction: column;
  gap:            0;
  border:         1px solid var(--line);
  border-radius:  var(--r-lg);
  overflow:       hidden;
  background:     rgba(255,255,255,0.025);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.faq-item         { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }

.faq-q {
  width:       100%; text-align: left;
  padding:     1.25rem 1.5rem;
  display:     flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size:   .98rem; font-weight: 600; color: var(--ink);
  transition:  background .2s;
}
.faq-q:hover { background: rgba(200,220,250,0.05); }

.faq-chevron {
  display:       block;
  width: 16px; height: 16px;
  flex-shrink:   0;
  border-right:  2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform:     rotate(45deg);
  margin-top:    -4px;
  transition:    transform .3s var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(-135deg); margin-top: 4px; }

.faq-a { padding: 0 1.5rem 1.25rem; font-size: .95rem; color: var(--ink-muted); line-height: 1.65; }
.faq-a[hidden] { display: none; }

/* =============================================================
   18. CTA FINAL — dark green gradient
   ============================================================= */
.cta-final {
  padding-block: var(--section-v);
  position:      relative;
  overflow:      hidden;
  background:    #000000;
}
.cta-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(at 35% 45%, rgba(200,220,250,0.25) 0%, transparent 55%),
    radial-gradient(at 75% 70%, rgba(18,140,126,0.18) 0%, transparent 55%);
  filter: blur(80px); pointer-events:none;
}
.cta-grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: .04;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; pointer-events:none;
}

.cta-wrap {
  position:       relative; z-index: 2;
  text-align:     center;
  display:        flex; flex-direction: column; align-items: center;
  gap:            1.5rem;
}

.cta-tag { color: var(--ink-muted); background: transparent; border: none; }

.cta-title {
  font-size:   clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color:       var(--ink);
  line-height: 1.08;
}
.cta-title em { font-style: italic; color: var(--accent); }

.cta-sub  { font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--ink-muted); max-width: 540px; }

.cta-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; }

.cta-nota { font-size: .82rem; color: rgba(232,238,255,0.30); }

.cta-feats { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: center; }
.cta-feat {
  display: flex; align-items: center; gap: .4rem;
  font-size: .88rem; color: rgba(232,238,255,0.55); font-weight: 500;
}
.cta-feat span { color: var(--accent); font-weight: 700; }

/* =============================================================
   19. FOOTER
   ============================================================= */
.footer {
  background:  #000000;
  color:       var(--ink-muted);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top:  1px solid rgba(232,238,255,0.04);
}

.footer-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   2.5rem;
  padding-bottom:        clamp(2.5rem, 5vw, 4rem);
  border-bottom:         1px solid rgba(232,238,255,0.06);
}

/* Footer logo SVG */
.footer-logo {
  display:      flex;
  align-items:  center;
  color:        rgba(232,238,255,0.80);
  margin-bottom:.75rem;
  transition:   color .2s;
}
.footer-logo:hover { color: var(--ink); }
.footer-logo svg { height: 24px; width: auto; }

.footer-tagline { font-size: .9rem; color: rgba(232,238,255,0.30); margin-bottom: 1rem; }

.footer-social         { display: flex; gap: .75rem; }
.footer-social-link    { color: rgba(232,238,255,0.30); transition: color .2s, transform .2s; }
.footer-social-link:hover { color: var(--accent); transform: translateY(-2px); }

.footer-nav-title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(232,238,255,0.25); margin-bottom: .9rem; }
.footer-nav ul    { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a     { font-size: .9rem; color: rgba(232,238,255,0.40); transition: color .2s; }
.footer-nav a:hover { color: rgba(232,238,255,0.80); }

.footer-bottom { padding-block: 1.25rem; }
.footer-bottom-inner {
  display:     flex; flex-wrap: wrap; gap: .5rem;
  justify-content:space-between; align-items: center;
}
.footer-legal    { font-size: .8rem; color: rgba(232,238,255,0.18); }
.footer-credits  { font-size: .75rem; color: rgba(232,238,255,0.15); transition: color .2s; }
.footer-credits:hover { color: rgba(232,238,255,0.40); }

/* =============================================================
   20. RESPONSIVE — tablet 720px+
   ============================================================= */
@media (min-width: 720px) {

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .problema-grid,
  .flujos-grid,
  .testimonios-grid,
  .precios-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

  .steps-callout-row {
    flex-direction: row;
    align-items:    stretch;
  }
  .steps-img-wrap { max-width: 400px; flex-shrink: 0; }
  .steps-img-wrap img { height: 100%; }
  .steps-callout  { max-width: none; flex: 1; }
}

/* =============================================================
   21. RESPONSIVE — desktop 1024px+
   ============================================================= */
@media (min-width: 1024px) {

  .nav-links { display: flex; }
  .nav-burger { display: none; }

  .hero-grid {
    grid-template-columns: 55% 45%;
    gap: 3.5rem;
    min-height: calc(100svh - 5rem);
  }

  .problema-grid    { grid-template-columns: repeat(3, 1fr); }
  .flujos-grid      { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .testimonios-grid { grid-template-columns: repeat(3, 1fr); }
  .precios-grid     { grid-template-columns: repeat(3, 1fr); }

  .step-card { max-width: none; }

  .cta-actions { flex-direction: row; }
}

/* =============================================================
   22. RESPONSIVE — large 1280px+
   ============================================================= */
@media (min-width: 1280px) {
  .hero-grid     { gap: 5rem; }
  .phone         { width: 288px; }
  .phone-badge-1 { left: -80px; }
  .phone-badge-2 { right: -70px; }
}

/* =============================================================
   23. MOBILE-ONLY — max 719px
   ============================================================= */
@media (max-width: 719px) {
  .nav-links  { display: none; }
  .btn-nav    { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 479px) {
  .hero-visual  { display: none; }
  .phone-badge  { display: none; }
}

@media (min-width: 480px) and (max-width: 719px) {
  .phone { width: 200px; }
  .phone-badge { display: none; }
}

/* =============================================================
   23b. NEW SECTIONS — ¿Qué es WavChat? / Funciones / META API
   ============================================================= */

/* --- ¿Qué es WavChat? (replaces problema section) --- */
.que-es-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   2.5rem 4rem;
  margin-bottom:         2.5rem;
  align-items:           start;
}
.que-es-desc p          { margin-bottom: 1.25rem; color: var(--ink-soft); line-height: 1.8; }
.que-es-desc p:last-child { margin-bottom: 0; }
.que-es-desc strong     { color: var(--ink); font-weight: 600; }

.caps-list {
  list-style:      none;
  display:         flex;
  flex-direction:  column;
  gap:             .65rem;
  margin-bottom:   2rem;
}
.caps-list li {
  padding-left: 1.5rem;
  position:     relative;
  color:        var(--ink-soft);
  font-size:    .93rem;
  line-height:  1.5;
}
.caps-list li::before {
  content:     "—";
  position:    absolute;
  left:        0;
  color:       var(--accent);
  font-weight: 700;
}

.int-block   { }
.int-label   { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .6rem; }
.int-tags    { display: flex; flex-wrap: wrap; gap: .4rem; }
.int-tags span {
  padding:       .28rem .7rem;
  border:        1px solid var(--glass-border);
  border-radius: 100px;
  font-size:     .78rem;
  color:         var(--ink-soft);
  background:    var(--glass);
  animation:     float-badge var(--fb-dur, 4s) ease-in-out var(--fb-delay, 0s) infinite alternate;
  transition:    transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor:        default;
}
.int-tags span:hover {
  transform:    translateY(-8px) scale(1.08);
  box-shadow:   0 12px 24px rgba(106, 185, 167, 0.3);
  border-color: #6AB9A7;
}

@keyframes float-badge {
  from { transform: translateY(-5px); }
  to   { transform: translateY(5px); }
}

/* --- Funciones grid — auto-fill compact cards --- */
.funciones-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap:                   1rem;
  justify-items:         stretch;
}

/* Compact accordion cards */
.func-card {
  max-width:   220px;
  width:       100%;
  padding:     16px !important;
  cursor:      pointer;
  transition:  transform .25s ease, box-shadow .25s ease, border-color .3s ease !important;
  justify-self: center;
}
.func-card .card-title  { margin-bottom: 0; font-size: 1rem; }
.func-card .card-icon   { margin-bottom: .75rem; }

/* Collapsible body — closed by default */
.func-card .card-body {
  max-height:  0;
  overflow:    hidden;
  transition:  max-height .4s ease, padding-top .3s ease, opacity .3s ease;
  opacity:     0;
  padding-top: 0;
}

/* Open state */
.func-card.is-open .card-body {
  max-height:  300px;
  opacity:     1;
  padding-top: .65rem;
}
.func-card.is-open {
  border-color: rgba(106, 185, 167, 0.65) !important;
  box-shadow:   0 0 24px rgba(106, 185, 167, 0.2), 0 8px 32px rgba(0,0,0,0.4) !important;
}

/* Hover */
@media (hover: hover) {
  .func-card:hover {
    transform:  translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(106,185,167,0.15) !important;
  }
}

/* --- META API section --- */
.meta-api {
  background: var(--bg-2);
  padding:    var(--section-v) 0;
}
.meta-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.5rem;
}

/* ---- Responsive for new sections ---- */
@media (max-width: 1100px) {
  .funciones-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .que-es-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .meta-grid      { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .funciones-grid { grid-template-columns: 1fr; }
  .meta-grid      { grid-template-columns: 1fr; }
}

/* =============================================================
   24. REDUCED MOTION — only INTRUSIVE effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh         { animation: none; }
  .phone             { animation: none; }
  .bubble-typing span{ animation: none; opacity: .6; }
  .phone-badge,
  .hero-pulse        { animation: none; }
  /* NOT disabled: hover, fades, reveals, cursor, count-up, FAQ */
}

/* =============================================================
   QUE-ES FLOATING CARD
   ============================================================= */
@keyframes float-card {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}

.que-es-card-float {
  background:    rgba(106, 185, 167, 0.17);
  border:        1px solid rgba(106, 185, 167, 0.40);
  border-radius: 16px;
  padding:       32px;
  box-shadow:    0 8px 32px rgba(106, 185, 167, 0.2),
                 0 0 0 1px rgba(106, 185, 167, 0.1);
  animation:     float-card 4s ease-in-out infinite alternate;
}

/* =============================================================
   PLATFORM BUBBLES
   ============================================================= */
@keyframes float-bubble {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px);  }
}

.platform-badges {
  display:         flex;
  flex-wrap:       wrap;
  gap:             20px;
  justify-content: center;
  margin-top:      1rem;
}

.platform-bubble {
  width:           80px;
  height:          80px;
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  background:      radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--bc) 20%, transparent) 0%, transparent 70%);
  border:          2.5px solid var(--bc);
  box-shadow:      0 0 25px color-mix(in srgb, var(--bc) 60%, transparent),
                   0 0 60px color-mix(in srgb, var(--bc) 20%, transparent);
  animation:       float-bubble 3.5s ease-in-out var(--fb-delay, 0s) infinite alternate;
  transition:      transform .3s ease, box-shadow .3s ease;
  cursor:          default;
}
.platform-bubble:hover {
  transform:  scale(1.1);
  box-shadow: 0 0 40px color-mix(in srgb, var(--bc) 85%, transparent),
              0 0 90px color-mix(in srgb, var(--bc) 35%, transparent);
}

/* =============================================================
   WAVCHAT CTA BUTTON
   ============================================================= */
.btn-wavchat-cta {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             10px;
  width:           fit-content;
  margin:          0 auto 1.5rem;
  padding:         14px 32px;
  background:      #25D366;
  color:           #fff;
  font-family:     'Inter', sans-serif;
  font-weight:     600;
  font-size:       1rem;
  border-radius:   12px;
  text-decoration: none;
  transition:      background .3s ease, transform .3s ease, box-shadow .3s ease;
  box-shadow:      0 4px 20px rgba(37, 211, 102, 0.30);
}
.btn-wavchat-cta:hover {
  background:  #1ebe57;
  transform:   scale(1.03);
  box-shadow:  0 6px 28px rgba(37, 211, 102, 0.45);
}

/* =============================================================
   TESTIMONIALS INFINITE CAROUSEL
   ============================================================= */
@keyframes scroll-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes float-tc {
  from { transform: translateY(-4px); }
  to   { transform: translateY(4px); }
}

.testimonials-carousel {
  position:   relative;
  overflow:   hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding:    1rem 0;
  /* fade edges */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.tc-track {
  overflow: hidden;
  margin-bottom: .75rem;
}
.tc-track:last-child { margin-bottom: 0; }

.tc-inner {
  display:    flex;
  gap:        16px;
  width:      max-content;
  will-change: transform;
}

.tc-track--ltr .tc-inner {
  animation: scroll-ltr 30s linear infinite;
}
.tc-track--rtl .tc-inner {
  animation: scroll-rtl 30s linear infinite;
}

/* Pause on hover */
.tc-track:hover .tc-inner { animation-play-state: paused; }

/* Individual card */
.tc-card {
  width:             220px;
  flex-shrink:       0;
  padding:           16px;
  background:        rgba(255, 255, 255, 0.05);
  border:            1px solid rgba(255, 255, 255, 0.10);
  border-radius:     16px;
  backdrop-filter:   blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:        0 0 16px rgba(0, 212, 255, 0.06), 0 4px 16px rgba(0,0,0,0.3);
  animation:         float-tc 3s ease-in-out var(--fd, 0s) infinite alternate;
  transition:        transform .3s ease, box-shadow .3s ease;
  cursor:            default;
}
.tc-card:hover {
  transform:  scale(1.05);
  box-shadow: 0 0 24px rgba(0,212,255,0.18), 0 8px 24px rgba(0,0,0,0.4);
}

.tc-stars {
  color:         #FFD700;
  font-size:     14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  line-height:   1;
}
.tc-text {
  font-size:     13px;
  color:         rgba(255, 255, 255, 0.80);
  line-height:   1.55;
  margin:        0 0 10px;
}
.tc-author {
  display:    block;
  font-size:  11px;
  color:      #00D4FF;
  font-weight: 500;
}
