/* Landing page */
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }

.hero2 { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero2::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(236, 143, 51, 0.18), transparent);
}
.hero2-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; }
.hero2 h1 { font-size: clamp(40px, 6.4vw, 66px); letter-spacing: -0.03em; }
.hero2 h1 span { color: var(--accent-2); }
.hero2 .lead { color: var(--muted); font-size: 18.5px; margin: 20px 0 28px; max-width: 32em; }
.fine { color: var(--faint); font-size: 14px; margin: 16px 0 0; }

/* phone with a server being built */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; height: 590px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #3a2a1d, #1a110b); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotate(2deg);
}
.notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0b0705; z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 36px; background: #1a120d; overflow: hidden; padding: 56px 14px 14px; }
.srv { display: flex; align-items: center; gap: 10px; padding: 0 6px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); margin-bottom: 8px; }
.srv img { width: 28px; height: 28px; border-radius: 9px; }
.srv b { font-family: var(--head); font-size: 15px; }
.pv .row { font-size: 13.5px; color: #d9cfc3; padding: 4px 6px; display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(6px); animation: rowIn 0.35s ease forwards; }
.pv .row i { font-style: normal; color: var(--faint); width: 16px; text-align: center; flex: none; font-size: 12px; }
.pv .row.c { color: var(--muted); font: 700 11px var(--body); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 12px; }
.done-pill {
  position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 10px); opacity: 0;
  background: var(--accent); color: #1a0d05; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(236, 143, 51, 0.35); animation: pillIn 0.4s ease 3.6s forwards; white-space: nowrap;
}
.pv .row:nth-child(1) { animation-delay: 0.3s; }
.pv .row:nth-child(2) { animation-delay: 0.5s; }
.pv .row:nth-child(3) { animation-delay: 0.7s; }
.pv .row:nth-child(4) { animation-delay: 0.95s; }
.pv .row:nth-child(5) { animation-delay: 1.15s; }
.pv .row:nth-child(6) { animation-delay: 1.35s; }
.pv .row:nth-child(7) { animation-delay: 1.55s; }
.pv .row:nth-child(8) { animation-delay: 1.8s; }
.pv .row:nth-child(9) { animation-delay: 2s; }
.pv .row:nth-child(10) { animation-delay: 2.2s; }
.pv .row:nth-child(11) { animation-delay: 2.45s; }
.pv .row:nth-child(12) { animation-delay: 2.65s; }
.pv .row:nth-child(13) { animation-delay: 2.9s; }
.pv .row:nth-child(14) { animation-delay: 3.1s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
@keyframes pillIn { to { opacity: 1; transform: translate(-50%, 0); } }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.how-step .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #1a0d05; font: 700 18px var(--head); margin-bottom: 16px; }
.how-step h3 { font-size: 23px; margin-bottom: 6px; }
.how-step p { color: var(--muted); margin: 0; }

/* templates */
.tpl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tpl-item { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.tpl-item > span { font-size: 26px; width: 48px; height: 48px; border-radius: 13px; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.tpl-item b { display: block; font-family: var(--head); font-size: 19px; }
.tpl-item small { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }

/* languages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .sub { margin-bottom: 0; }
.lang-card { background: #1e1f22; border: 1px solid #2b2d31; border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px; }
.lang-card b { display: block; margin-bottom: 14px; color: #f2f3f5; }
.lang-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-btns span { background: #4e5058; color: #fff; border-radius: 6px; padding: 7px 12px; font-size: 14px; font-weight: 500; }

/* roles */
.roles-demo { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.rd { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.rd i { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 5px; }
.rd .d1 { background: #e74c3c; } .rd .d2 { background: #3498db; } .rd .d3 { background: #9b59b6; } .rd .d4 { background: #2ecc71; } .rd .d5 { background: #f1c40f; }
.rd b { display: block; font-family: var(--head); font-size: 19px; }
.rd small { color: var(--muted); font-size: 14.5px; }
.small-sub { margin-top: 18px !important; margin-bottom: 0 !important; font-size: 15px; }
.small-sub b { color: var(--text); }

.final .banner-final { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto 32px; border-radius: 16px; border: 1px solid var(--border); }

@media (max-width: 900px) {
  .hero2 { padding: 36px 0 24px; }
  .hero2-grid { grid-template-columns: 1fr; gap: 36px; }
  .how { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .phone { transform: none; width: 280px; height: 540px; }
}
@media (max-width: 560px) {
  .hero2 .lead { font-size: 17px; }
  .cta .btn-lg { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pv .row, .done-pill { animation: none; opacity: 1; transform: none; }
  .done-pill { transform: translateX(-50%); }
}
