/* ══════════════════════════════════════════
   INCLOUD — AgroSuite Sales Control
   ══════════════════════════════════════════ */

:root {
  --ic:        #2E8B57;
  --ic-alt:    #27AE60;
  --ic-light:  rgba(46,139,87,.1);
  --ic-border: rgba(46,139,87,.25);
}

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

/* Phone mockup */
.ic-phone-wrap {
  display: flex;
  align-items: flex-end;
  gap: -1rem;
}
.ic-phone {
  width: 220px;
  background: #0f0f0f;
  border-radius: 40px;
  border: 6px solid #222;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(46,139,87,.15);
  position: relative;
}
.ic-phone::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #0f0f0f;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.ic-phone-screen {
  background: #f4f6f4;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.ic-phone-topbar {
  background: var(--ic);
  padding: 2rem 1rem .7rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.ic-phone-topbar-title { font-size: .85rem; }
.ic-phone-content { padding: .6rem .6rem; flex: 1; }
.ic-phone-card {
  background: #fff;
  border-radius: 10px;
  padding: .7rem .8rem;
  margin-bottom: .5rem;
  border-left: 3px solid var(--ic);
}
.ic-phone-card-title { font-size: .7rem; font-weight: 700; color: #1a1a1a; }
.ic-phone-card-sub { font-size: .62rem; color: #888; margin-top: .1rem; }
.ic-phone-card-row { display: flex; justify-content: space-between; align-items: center; margin-top: .35rem; }
.ic-phone-card-num { font-size: .78rem; font-weight: 700; color: var(--ic); }
.ic-phone-card-badge {
  font-size: .58rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 20px;
  background: rgba(46,139,87,.12);
  color: var(--ic);
}
.ic-phone-card-badge.pending { background: rgba(255,152,0,.12); color: #e67e00; }
.ic-phone-card-badge.done { background: rgba(46,139,87,.12); color: var(--ic); }
.ic-phone-nav {
  background: #fff;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: .5rem 0 .8rem;
}
.ic-phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  font-size: .52rem;
  color: #aaa;
}
.ic-phone-nav-item.active { color: var(--ic); }
.ic-phone-nav-ico { font-size: 1rem; }
.ic-phone-nav-ico::before { margin: 0 !important; }

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

/* ── Features list ── */
.ic-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.ic-feat-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  transition: background .2s, border-color .2s;
}
.ic-feat-item:hover { background: var(--ic-light); border-color: var(--ic-border); }
.ic-feat-item-ico {
  width: 42px; height: 42px;
  background: var(--ic-light);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--g);
  flex-shrink: 0;
}
.ic-feat-item-ico::before { margin: 0 !important; }
.ic-feat-item h3 { font-size: .9rem; font-weight: 700; color: #fff; margin: 0 0 .3rem; }
.ic-feat-item p { font-size: .8rem; color: rgba(255,255,255,.42); line-height: 1.6; margin: 0; }

/* ── How it works (steps) ── */
.ic-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}
.ic-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--g), var(--tc, #1A6DB5));
  z-index: 0;
}
.ic-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 1.2rem;
  position: relative; z-index: 1;
}
.ic-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--g);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800; color: var(--g2);
  margin-bottom: 1rem;
  box-shadow: 0 0 0 4px var(--bg2);
}
.ic-step h4 { font-size: .9rem; font-weight: 700; color: var(--bk); margin-bottom: .3rem; }
.ic-step p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── Integración con TrillaCloud ── */
.ic-sync-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}
.ic-sync-box {
  background: var(--bk);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 2rem 1.8rem;
}
.ic-sync-box h3 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 1rem; }
.ic-sync-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.ic-sync-item:last-child { border-bottom: none; }
.ic-sync-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ic-sync-dot.green { background: var(--g); }
.ic-sync-dot.blue  { background: #5aaef5; }
.ic-sync-arrow {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: 1.8rem; color: rgba(255,255,255,.15);
}
.ic-sync-arrow-label { font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g); text-align: center; }

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

/* ── Mobile ── */
@media (max-width: 1024px) {
  .ic-hero-inner { grid-template-columns: 1fr; }
  .ic-phone-wrap { display: none; }
}
@media (max-width: 768px) {
  .ic-feat-grid { grid-template-columns: 1fr; }
  .ic-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ic-steps::before { display: none; }
  .ic-sync-grid { grid-template-columns: 1fr; }
  .ic-sync-arrow { transform: rotate(90deg); }
  .ic-strip-inner { grid-template-columns: 1fr 1fr; }
  .ic-sec { padding: 48px 5%; }
}
