/* Homepage sections — mockup fidelity */

.hero{
  background:linear-gradient(180deg, var(--ap-green-mint) 0%, #d8f3e6 42%, var(--ap-bg) 100%);
  padding:8px 0 28px;position:relative;overflow:hidden;
}
.hero-grid{
  display:grid;grid-template-columns:minmax(280px,.92fr) minmax(320px,1.18fr);
  gap:8px 28px;align-items:center;
}
.hero-copy .badge{
  display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;
  background:rgba(255,255,255,.82);border:1px solid rgba(15,122,74,.16);
  color:var(--ap-green-deep);font-size:12px;font-weight:700;margin-bottom:16px;
}
.hero-copy h1{
  margin:0 0 14px;font-size:var(--ap-fs-3xl);line-height:var(--ap-lh-tight);
  letter-spacing:-.03em;color:var(--ap-green-deep);max-width:12em;font-weight:800;
}
.hero-copy .lead{
  margin:0 0 18px;color:var(--ap-muted);font-size:15px;max-width:36rem;line-height:1.65;
}
.hero-feats{
  display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:0;list-style:none;
}
.hero-feats li{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px 8px 8px;border-radius:999px;
  background:rgba(255,255,255,.78);border:1px solid rgba(15,122,74,.12);
  box-shadow:0 2px 8px rgba(15,92,56,.05);
}
.hero-feats .feat-ico{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  background:var(--ap-green-soft);color:var(--ap-green);
  display:inline-flex;align-items:center;justify-content:center;
}
.hero-feats .feat-txt{display:flex;flex-direction:column;gap:1px;line-height:1.2;min-width:0}
.hero-feats .feat-txt strong{font-size:13px;font-weight:750;color:var(--ap-ink)}
.hero-feats .feat-txt small{font-size:11px;color:var(--ap-muted);font-weight:500}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-actions .ap-btn-primary{min-width:168px;box-shadow:0 8px 18px rgba(15,122,74,.22)}
.hero-actions .ap-btn-outline{background:rgba(255,255,255,.85)}

.hero-visual{position:relative;min-height:360px;display:flex;align-items:center;justify-content:center}
.hero-visual img.hero-art,.hero-visual img.panda{
  width:min(100%, 620px);height:auto;display:block;
  filter:drop-shadow(0 18px 36px rgba(15,92,56,.14));
  position:relative;z-index:1;
}

@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:8px}
  .hero-visual{min-height:260px;order:-1}
  .hero-copy h1{max-width:none;font-size:clamp(28px,7vw,40px)}
  .hero-feats{gap:8px}
}

/* Trust bar */
.trust{
  background:#fff;border-block:1px solid var(--ap-line);
  padding:22px 0;margin-bottom:8px;
}
.trust-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.trust-item{
  display:flex;align-items:center;gap:14px;justify-content:flex-start;
  padding:4px 8px;
}
.trust-item .ico{
  width:46px;height:46px;border-radius:50%;flex-shrink:0;
  background:transparent;color:var(--ap-green);
  border:1.5px solid rgba(15,122,74,.35);
  display:inline-flex;align-items:center;justify-content:center;
}
.trust-item .txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.trust-item .txt strong{font-size:15px;font-weight:750;color:var(--ap-ink);line-height:1.25}
.trust-item .txt small{font-size:12px;color:var(--ap-muted);line-height:1.35}
@media(max-width:800px){
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:16px 12px}
}
@media(max-width:420px){
  .trust-item .txt strong{font-size:14px}
  .trust-item .txt small{font-size:11px}
}

/* Hot products */
.hot-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
@media(max-width:900px){.hot-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.hot-grid{grid-template-columns:1fr}}

.product-card{padding:18px;display:grid;gap:12px}
.product-card .top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.product-card .logo{
  width:52px;height:52px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
}
.product-card .tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.product-card h3{
  margin:0;font-size:15px;font-weight:650;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em;
}
.product-card .desc{
  margin:0;color:var(--ap-muted);font-size:12px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.product-card .row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.product-card .price{color:var(--ap-price);font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.product-card .stock{font-size:12px;color:var(--ap-muted)}
.product-card .stock.in{color:var(--ap-green-deep);font-weight:650}

/* Platforms */
.plat-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:14px;
}
@media(max-width:900px){.plat-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.plat-grid{grid-template-columns:repeat(3,1fr)}}
.plat-card{
  display:grid;justify-items:center;gap:10px;padding:18px 10px 16px;text-align:center;
}
.plat-card .mark{
  width:64px;height:64px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:18px;box-shadow:var(--ap-shadow-sm);
}
.plat-card span{font-size:13px;font-weight:650;color:var(--ap-ink-2)}
.plat-card small{font-size:11px;color:var(--ap-muted)}

/* Flow + promises */
.split-band{padding:48px 0}
.split-grid{
  display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:stretch;
}
@media(max-width:900px){.split-grid{grid-template-columns:1fr}}
.flow-panel,.why-panel{padding:24px;height:100%}
.flow-panel h2,.why-panel h2{margin:0 0 6px;font-size:22px}
.flow-panel .sec-sub,.why-panel .sec-sub{margin:0 0 18px}
.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:560px){.steps{grid-template-columns:1fr}}
.step{
  background:var(--ap-green-wash);border:1px solid #d7ebe0;border-radius:12px;padding:16px;
}
.step .n{
  width:28px;height:28px;border-radius:50%;background:var(--ap-green);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;margin-bottom:10px;
}
.step h3{margin:0 0 6px;font-size:15px}
.step p{margin:0;font-size:13px;color:var(--ap-muted);line-height:1.5}
.why-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.why-list li{
  display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start;
  padding:12px;border-radius:12px;background:#fff;border:1px solid var(--ap-line);
}
.why-list .ico{
  width:44px;height:44px;border-radius:12px;background:var(--ap-green-soft);color:var(--ap-green);
  display:inline-flex;align-items:center;justify-content:center;
}
.why-list h3{margin:0 0 4px;font-size:15px}
.why-list p{margin:0;font-size:13px;color:var(--ap-muted);line-height:1.5}

/* Guides */
.guide-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
@media(max-width:1100px){.guide-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.guide-grid{grid-template-columns:repeat(2,1fr)}}
.guide-card{overflow:hidden;display:grid;grid-template-rows:auto 1fr}
.guide-card .thumb{
  height:88px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:26px;font-weight:800;
}
.guide-card .body{padding:12px 12px 14px;display:grid;gap:8px}
.guide-card h3{
  margin:0;font-size:13px;font-weight:650;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;
}
.guide-card .meta{color:var(--ap-muted);font-size:11px}

.empty-note{text-align:center;color:var(--ap-muted);padding:28px}
.soft-band{background:var(--ap-bg-warm);padding:48px 0;margin-top:24px}


/* Customer reviews (sample cards for preview / design mockup) */
.reviews-band{padding:48px 0 16px}
.ap-sample-tag{
  display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;
  background:#eef2f0;color:var(--ap-muted);font-size:11px;font-weight:650;margin-left:6px;
  vertical-align:middle;
}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:900px){.review-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.review-grid{grid-template-columns:1fr}}
.review-card{
  padding:22px 20px 18px;display:grid;gap:14px;position:relative;
  background:#fff;border:1px solid var(--ap-line);border-radius:16px;
  box-shadow:var(--ap-shadow-sm);
}
.review-card .quote{
  font-size:36px;line-height:1;color:var(--ap-green);font-family:Georgia,serif;
  opacity:.85;margin:-4px 0 -8px;
}
.review-card .stars{color:#f5a524;font-size:14px;letter-spacing:1px}
.review-card .body{
  margin:0;font-size:14px;line-height:1.65;color:var(--ap-ink-2);
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:5.2em;
}
.review-card .who{display:flex;align-items:center;gap:12px;margin-top:2px}
.review-card .avatar{
  width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:15px;flex-shrink:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);
}
.review-card .who strong{display:block;font-size:14px;color:var(--ap-ink)}
.review-card .who span{font-size:12px;color:var(--ap-muted)}
