/* ══════════════════════════════════════
   TRI — Strategy section
══════════════════════════════════════ */

.tri-sec { padding: 100px 0; }

.tri-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 800px) { .tri-grid { grid-template-columns: 1fr; gap: 48px; } }

.tri-ey {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ffm);
  font-size: .68rem;
  color: var(--blue);
  background: var(--blued);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.tri-h {
  font-family: var(--ffh);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}

.tri-p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.85;
  margin-bottom: 12px;
}
.tri-p strong { color: var(--text); }

/* Level cards */
.tri-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}

.tri-card:last-child { margin-bottom: 0; }

.tri-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.tri-card.easy::before { background: linear-gradient(90deg, transparent, #22c55e, transparent); }
.tri-card.med::before  { background: linear-gradient(90deg, transparent, #f59e0b, transparent); }
.tri-card.hard::before { background: linear-gradient(90deg, transparent, #ef4444, transparent); }

.tri-card:hover { transform: translateX(6px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }

.tc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }

.tc-level-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tri-card.easy .tc-level-dot { background: #22c55e; }
.tri-card.med  .tc-level-dot { background: #f59e0b; }
.tri-card.hard .tc-level-dot { background: #ef4444; }

.tc-lbl { font-family: var(--ffm); font-size: .63rem; color: var(--subtle); letter-spacing: .08em; }
.tc-title { font-family: var(--ffh); font-weight: 700; font-size: .93rem; color: var(--text); margin-bottom: 8px; }
.tc-desc  { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }

.tc-tag { font-family: var(--ffm); font-size: .58rem; letter-spacing: .1em; border-radius: 50px; padding: 3px 10px; }
.tc-tag.easy { background: rgba(34,197,94,.08);  color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.tc-tag.med  { background: rgba(245,158,11,.08);  color: var(--amber); border: 1px solid rgba(245,158,11,.2); }
.tc-tag.hard { background: rgba(239,68,68,.08);   color: var(--red);   border: 1px solid rgba(239,68,68,.2); }


/* ══════════════════════════════════════
   PARA QUEM — Who it's for
══════════════════════════════════════ */

.quem-sec { padding: 100px 0; }

.quem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 700px) { .quem-grid { grid-template-columns: 1fr; } }

.quem-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}

.quem-col:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }

.quem-col-yes .quem-col {
  border-color: rgba(34,197,94,.2);
  background: linear-gradient(145deg, rgba(34,197,94,.03), #fff);
}

.quem-col-no .quem-col { border-color: rgba(239,68,68,.15); }

.quem-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.quem-hico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.quem-col-yes .quem-hico { background: rgba(34,197,94,.1); }
.quem-col-no  .quem-hico { background: rgba(239,68,68,.08); }

.quem-header h3 { font-family: var(--ffh); font-weight: 700; font-size: 1rem; color: var(--text); }

.quem-list { list-style: none; }

.quem-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.quem-list li:last-child { border-bottom: none; }

.quem-ck {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: .65rem;
  font-weight: 700;
}

.quem-col-yes .quem-ck { background: rgba(34,197,94,.1); color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.quem-col-no  .quem-ck { background: rgba(239,68,68,.08); color: var(--red);   border: 1px solid rgba(239,68,68,.15); }


/* ══════════════════════════════════════
   FEATURES — Bento grid
══════════════════════════════════════ */

.feat-sec { padding: 100px 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
}

/* Span sizes */
.bento-c1 { grid-column: span 2; }
.bento-c2 { grid-column: span 2; }
.bento-c3 { grid-column: span 2; }
.bento-c4 { grid-column: span 3; }
.bento-c5 { grid-column: span 3; }
.bento-c6 { grid-column: span 6; }

@media (max-width: 960px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bento-c1, .bento-c2       { grid-column: span 2; }
  .bento-c3                  { grid-column: span 4; }
  .bento-c4, .bento-c5       { grid-column: span 2; }
  .bento-c6                  { grid-column: span 4; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-c1, .bento-c2, .bento-c3,
  .bento-c4, .bento-c5, .bento-c6 { grid-column: span 1; }
}

/* Card base */
.bento-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}

.bento-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
}

.bento-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06); }

/* Glow variants on hover */
.bento-card.blue-glow:hover   { border-color: rgba(59,130,246,.25); box-shadow: 0 20px 60px rgba(59,130,246,.12), 0 4px 12px rgba(59,130,246,.08); }
.bento-card.cyan-glow:hover   { border-color: rgba(6,182,212,.25);  box-shadow: 0 20px 60px rgba(6,182,212,.1); }
.bento-card.amber-glow:hover  { border-color: rgba(217,119,6,.25);  box-shadow: 0 20px 60px rgba(217,119,6,.1); }
.bento-card.green-glow:hover  { border-color: rgba(34,197,94,.25);  box-shadow: 0 20px 60px rgba(34,197,94,.1); }
.bento-card.violet-glow:hover { border-color: rgba(124,58,237,.25); box-shadow: 0 20px 60px rgba(124,58,237,.1); }

/* Highlighted */
.bento-card.hl {
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(59,130,246,.02));
  border-color: rgba(59,130,246,.18);
}

.bento-card.hl::after {
  content: 'TOP';
  position: absolute; top: 14px; right: 14px;
  font-family: var(--ffm); font-size: .5rem; letter-spacing: .1em;
  background: var(--blue); color: #fff;
  border-radius: 50px; padding: 3px 9px;
}

/* Icon */
.bento-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.4);
  transition: transform .3s, box-shadow .3s;
}

.bento-icon.blue   { background: rgba(59,130,246,.1);  border-color: rgba(59,130,246,.2); }
.bento-icon.cyan   { background: rgba(6,182,212,.1);   border-color: rgba(6,182,212,.2); }
.bento-icon.amber  { background: rgba(217,119,6,.1);   border-color: rgba(217,119,6,.2); }
.bento-icon.green  { background: rgba(34,197,94,.1);   border-color: rgba(34,197,94,.2); }
.bento-icon.violet { background: rgba(124,58,237,.1);  border-color: rgba(124,58,237,.2); }

.bento-card:hover .bento-icon { transform: scale(1.1) rotate(-5deg); }

.bento-title { font-family: var(--ffh); font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.bento-desc  { font-size: .84rem; color: var(--muted); line-height: 1.75; }

/* Wide app card layout */
.bento-app { display: flex; align-items: center; gap: 28px; }

.bento-app .bento-icon {
  width: 72px; height: 72px;
  font-size: 1.7rem;
  border-radius: 22px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.fc-app-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--ffm);
  font-size: .5rem;
  letter-spacing: .12em;
  background: rgba(217,119,6,.12);
  color: var(--amber);
  border: 1px solid rgba(217,119,6,.3);
  border-radius: 50px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}


/* ══════════════════════════════════════
   MODULES — File-tree accordion
══════════════════════════════════════ */

.mod-sec { padding: 100px 0; }

.mod-tree {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.mt-dots { display: flex; gap: 6px; }
.mtd     { width: 11px; height: 11px; border-radius: 50%; }

.mt-title {
  font-family: var(--ffm);
  font-size: .68rem;
  color: var(--muted);
  flex: 1;
  text-align: center;
  letter-spacing: .06em;
}

.mt-badge {
  font-family: var(--ffm);
  font-size: .58rem;
  color: var(--subtle);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 50px;
}

.mod-item { border-bottom: 1px solid var(--border); }
.mod-item:last-child { border-bottom: none; }

.mod-sum {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background .2s;
  gap: 12px;
}

.mod-sum::marker,
.mod-sum::-webkit-details-marker { display: none; }

.mod-sum:hover { background: var(--bg); }

.mod-left { display: flex; align-items: center; gap: 14px; }

.mod-num {
  font-family: var(--ffm);
  font-size: .65rem;
  color: var(--subtle);
  letter-spacing: .08em;
  min-width: 22px;
}

.mod-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--blued);
  border: 1px solid rgba(59,130,246,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.mod-name { font-weight: 600; font-size: .9rem; color: var(--text); }

.mod-arr {
  font-size: 1.2rem;
  color: var(--blue);
  font-weight: 300;
  transition: transform .25s;
  flex-shrink: 0;
  user-select: none;
}

details[open] .mod-arr { transform: rotate(45deg); }

.mod-inner {
  padding: 0 24px 18px 86px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.8;
}

.mod-inner ul { list-style: none; }

.mod-inner ul li {
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mod-inner ul li::before {
  content: '—';
  color: var(--subtle);
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.mod-bonus .mod-num { color: var(--blue); }
.mod-bonus .mod-ico { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.25); }
