/* ══════════════════════════════════════════
   TRILLACLOUD — AgroSuite Weight Control
   ══════════════════════════════════════════ */

:root {
  --tc:        #7BBF3E;
  --tc-light:  rgba(123,191,62,.1);
  --tc-border: rgba(123,191,62,.25);
  --tc-glow:   rgba(123,191,62,.15);
}

/* ── Hero ── */
.tc-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bk);
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}
.tc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tc-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--tc-light);
  border: 1px solid var(--tc-border);
  border-radius: 20px;
  padding: .3rem .9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 1.2rem;
}
.tc-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin: 0 0 1.1rem;
}
.tc-hero h1 em { font-style: normal; color: var(--g); }
.tc-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 2rem;
}
.tc-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Logo visual */
.tc-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.tc-logo-box {
  background: rgba(255,255,255,.96);
  border-radius: 24px;
  padding: 2.2rem 2.8rem;
  box-shadow: 0 0 60px rgba(123,191,62,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.tc-logo-box img { width: 140px; display: block; }
.tc-logo-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--g2);
  letter-spacing: -.02em;
}
.tc-logo-powered {
  font-size: .72rem;
  color: rgba(0,0,0,.4);
  text-align: center;
}
.tc-logo-tagline {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ── Secciones ── */
.tc-sec { padding: 72px 5%; }
.tc-sec.dark  { background: var(--bk); }
.tc-sec.light { background: #fff; }
.tc-sec.alt   { background: var(--bg2); border-top: 1px solid var(--border); }
.tc-inner { max-width: 1100px; margin: 0 auto; }

/* ── Qué es ── */
.tc-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.tc-what-text p { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.tc-what-text strong { color: var(--bk); font-weight: 600; }

.tc-modules-preview {
  background: var(--bk);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(123,191,62,.2);
}
.tc-mod-header {
  background: var(--g2);
  padding: .7rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.tc-mod-header-dot { width: 10px; height: 10px; border-radius: 50%; }
.tc-mod-header-dot:nth-child(1) { background: #ff5f57; }
.tc-mod-header-dot:nth-child(2) { background: #febc2e; }
.tc-mod-header-dot:nth-child(3) { background: #28c840; }
.tc-mod-header-title { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.8); margin-left: .5rem; letter-spacing: .05em; }
.tc-mod-body { padding: .5rem 0; }
.tc-mod-group { padding: .5rem 0; }
.tc-mod-group-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g);
  padding: .4rem 1.2rem .2rem;
}
.tc-mod-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .45rem 1.2rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  cursor: default;
  transition: background .15s;
}
.tc-mod-item:hover { background: rgba(123,191,62,.12); color: rgba(255,255,255,.9); }
.tc-mod-item-ico { font-size: .95rem; color: var(--g); width: 18px; text-align: center; }
.tc-mod-item-ico::before { margin: 0 !important; }
.tc-mod-item.active { background: rgba(123,191,62,.2); color: #fff; }

/* ── Módulos grid ── */
.tc-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.tc-feat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.tc-feat-card:hover {
  background: var(--tc-light);
  border-color: var(--tc-border);
  transform: translateY(-3px);
}
.tc-feat-ico { font-size: 1.6rem; color: var(--g); margin-bottom: .8rem; }
.tc-feat-ico::before { margin: 0 !important; }
.tc-feat-card h3 { font-size: .95rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.tc-feat-card p { font-size: .82rem; color: rgba(255,255,255,.42); line-height: 1.65; margin: 0; }
.tc-feat-tag {
  display: inline-block;
  margin-top: .8rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--g);
  background: var(--tc-light);
  border-radius: 20px;
  padding: .15rem .6rem;
}

/* ── Integración ── */
.tc-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.tc-int-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.tc-int-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-3px); }
.tc-int-ico { font-size: 2.2rem; color: var(--g2); margin-bottom: .8rem; }
.tc-int-ico::before { margin: 0 !important; }
.tc-int-card h3 { font-size: .98rem; font-weight: 700; color: var(--bk); margin: 0 0 .5rem; }
.tc-int-card p { font-size: .82rem; color: var(--muted); line-height: 1.65; margin: 0; }
.tc-int-card a { display: inline-block; margin-top: .8rem; font-size: .78rem; font-weight: 700; color: var(--g2); text-decoration: none; }
.tc-int-card a:hover { color: var(--g); }

/* ── Metrics strip ── */
.tc-strip { padding: 56px 5%; background: var(--g2); }
.tc-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.tc-strip-num { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.tc-strip-lbl { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: .4rem; line-height: 1.4; }

/* ── Mobile ── */
@media (max-width: 1024px) {
  .tc-hero-inner { grid-template-columns: 1fr; }
  .tc-logo-wrap { display: none; }
}
@media (max-width: 900px) {
  .tc-what-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tc-feat-grid { grid-template-columns: 1fr 1fr; }
  .tc-int-grid  { grid-template-columns: 1fr; }
  .tc-strip-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tc-feat-grid { grid-template-columns: 1fr; }
}
