/* ============================================================
   Landing sections — Hero / Features / Use Cases / FAQ / CTA / Footer
   Sourced from BeanyWorld design's build/styles.css. Loaded on the
   list page only (public/index.html), AFTER style.css and beany.css.
   ============================================================ */

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ================= HERO ================= */
.hero-shell { padding: 24px 24px 40px; max-width: 1240px; margin: 0 auto; }
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-text);
  border-radius: 36px;
  padding: 76px 64px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  box-shadow: 0 30px 60px rgba(11,31,58,0.22);
}
html[data-theme="light"] .hero::before,
html:not([data-theme="dark"]) .hero::before {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 540px at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 540px at 30% 40%, #000 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 13px; color: rgba(255,255,255,0.86); font-weight: 500;
}
.hero-badge .dot {
  width: 22px; height: 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-size: 12px;
  box-shadow: 0 4px 10px var(--accent-glow);
}
.hero h1 {
  font-size: 68px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 800;
  margin: 22px 0 22px;
  color: var(--hero-text);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 19px; line-height: 1.6; color: var(--hero-text-muted);
  margin: 0 0 36px; max-width: 480px; font-weight: 400;
}
.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 16px 26px; border-radius: 999px; font-size: 16px; font-weight: 600;
  box-shadow: 0 12px 28px var(--accent-glow);
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
  font-family: inherit;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  color: #fff; border: 1.5px solid rgba(255,255,255,0.28);
  padding: 14.5px 24px; border-radius: 999px; font-size: 16px; font-weight: 600;
  background: rgba(255,255,255,0.02);
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; font-family: inherit;
  transition: all .15s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); }
.hero-meta {
  display: flex; gap: 24px; margin-top: 36px; color: rgba(255,255,255,0.62); font-size: 13.5px;
  flex-wrap: wrap;
}
.hero-meta .check { color: var(--accent-2); margin-right: 6px; font-weight: 700; }

/* hero mock */
.hero-mock { position: relative; height: 540px; }
.mock-window {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.30);
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr;
}
.mock-side {
  background: rgba(0,0,0,0.18);
  padding: 18px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.mock-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  display: grid; place-items: center;
}
.mock-icon.active { background: var(--accent); color: #fff; box-shadow: 0 6px 14px var(--accent-glow); }
.mock-body { background: #F4F6FA; position: relative; padding: 18px; overflow: hidden; }
html[data-theme="dark"] .mock-body { background: #1F2F4D; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.chat-msg.me { justify-content: flex-end; }
.chat-bubble {
  background: #fff; border-radius: 14px 14px 14px 4px;
  padding: 11px 14px; font-size: 14px; color: #14181F;
  box-shadow: 0 1px 2px rgba(11,31,58,0.05), 0 4px 10px rgba(11,31,58,0.04);
  max-width: 78%; line-height: 1.45;
}
html[data-theme="dark"] .chat-bubble { background: #2C3F62; color: #E4EAF2; }
.chat-msg.me .chat-bubble {
  background: var(--sky); color: #fff;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 6px 14px rgba(59,130,246,0.30);
}
.chat-avatar {
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--accent-soft);
  display: grid; place-items: center; flex-shrink: 0;
}
.preview-card {
  margin-top: 8px;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(11,31,58,0.10);
}
.preview-bar {
  height: 22px; background: #F0F2F6; display: flex; align-items: center; gap: 4px; padding: 0 10px;
  border-bottom: 1px solid var(--border);
}
.preview-bar i { width: 7px; height: 7px; border-radius: 999px; background: #D6DAE2; display: inline-block; }
.preview-content {
  background: linear-gradient(135deg, var(--accent-softer) 0%, var(--accent-soft) 100%);
  padding: 22px 22px 20px;
  height: 168px;
  position: relative; overflow: hidden;
}
.preview-title {
  font-size: 22px; font-weight: 800; color: #5A2740; line-height: 1.18; letter-spacing: -0.02em;
}
.preview-title small { display: block; font-weight: 600; font-size: 14px; color: #B5557A; margin-bottom: 4px; letter-spacing: 0; }
.preview-illu { position: absolute; right: 14px; bottom: 0; }
.floating-bot {
  position: absolute; right: -12px; bottom: -12px;
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 28px var(--accent-glow);
  border: 4px solid var(--navy);
  z-index: 3;
}
html[data-theme="dark"] .floating-bot { border-color: #0A1424; }
.spark {
  position: absolute; right: 22px; top: 116px; color: var(--accent-2); z-index: 3;
  animation: hero-twinkle 2.4s ease-in-out infinite;
}
@keyframes hero-twinkle { 0%,100%{ opacity: .4; transform: scale(1);} 50% { opacity: 1; transform: scale(1.15);} }

/* ================= SECTION COMMON ================= */
.lp-section { padding: 110px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.eyebrow::before { content:""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.section-title {
  font-size: 48px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 800;
  margin: 14px 0 16px; color: var(--text-strong);
  text-wrap: balance;
}
.section-sub {
  font-size: 18px; line-height: 1.6; color: var(--text-muted); margin: 0; max-width: 640px;
}

/* ================= FEATURES ================= */
.features { background: var(--bg-soft); border-radius: 36px; padding: 88px 64px; margin: 0 24px; }
.features-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.features-head a {
  color: var(--text-strong); font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}
.feat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-softer); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.feat-card:nth-child(2) .feat-icon { background: rgba(59,130,246,0.10); color: var(--sky); }
.feat-card:nth-child(3) .feat-icon { background: rgba(122,90,224,0.10); color: #7A5AE0; }
.feat-card:nth-child(4) .feat-icon { background: var(--accent-softer); color: var(--accent); }
.feat-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; color: var(--text-strong); letter-spacing: -0.02em; }
.feat-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.feat-tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 600; color: var(--text-faint); letter-spacing: 0.06em; }

/* ================= USE CASES ================= */
.usecases { padding: 110px 0; }
.uc-head { text-align: center; margin-bottom: 56px; }
.uc-head .section-title, .uc-head .section-sub { margin-left: auto; margin-right: auto; }
.uc-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 540px; }
.uc-card {
  border-radius: 24px; padding: 28px 28px 24px;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease;
}
.uc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.uc-card.large { grid-row: 1 / span 2; padding: 36px; background: linear-gradient(160deg, var(--accent-softer) 0%, var(--surface) 100%); }
.uc-card.dark { background: var(--navy); color: #fff; border-color: transparent; }
html[data-theme="dark"] .uc-card.dark { background: #07101F; }
.uc-card.dark h3 { color: #fff; }
.uc-card.dark p { color: rgba(255,255,255,0.72); }
.uc-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-softer); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.uc-card.dark .uc-tag { background: rgba(255,92,147,0.18); color: var(--accent-2); }
.uc-card h3 {
  font-size: 22px; font-weight: 800; margin: 0 0 10px; color: var(--text-strong); letter-spacing: -0.02em;
  line-height: 1.25;
}
.uc-card.large h3 { font-size: 30px; }
.uc-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.uc-vis { margin-top: 20px; flex: 1; display: flex; align-items: flex-end; }

/* ================= FAQ ================= */
.faq { padding: 110px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: flex-start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px 26px; transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--accent); box-shadow: 0 8px 24px var(--accent-tint); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--text-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px;
  background: var(--bg-muted); color: var(--text-muted);
  display: grid; place-items: center; transition: all .15s ease;
}
.faq-item[open] .faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--text-muted);
}

/* ================= CTA STRIP ================= */
.cta-strip-wrap { padding: 0 24px 80px; }
.cta-strip {
  background:
    radial-gradient(500px 300px at 100% 0%, var(--accent-glow), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(59,130,246,0.20), transparent 60%),
    var(--navy);
  color: #fff; border-radius: 32px;
  padding: 64px 64px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
html[data-theme="dark"] .cta-strip {
  background:
    radial-gradient(500px 300px at 100% 0%, var(--accent-glow), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(59,130,246,0.20), transparent 60%),
    #050C1A;
}
.cta-strip h2 { font-size: 38px; line-height: 1.18; margin: 0 0 14px; letter-spacing: -0.03em; font-weight: 800; }
.cta-strip p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0 0 28px; }

/* ================= FOOTER ================= */
.lp-footer {
  background: var(--navy); color: #fff;
  border-radius: 36px 36px 0 0;
  margin: 0 24px;
  padding: 72px 64px 40px;
  position: relative; overflow: hidden;
}
html[data-theme="dark"] .lp-footer { background: #060E1C; }
.lp-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px; margin-bottom: 56px;
  position: relative; z-index: 2;
}
.footer-brand .lp-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  color: #fff;
}
.footer-brand .lp-brand .mark { width: 32px; height: 32px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin: 16px 0 0; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.95); margin: 0 0 18px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color .15s; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; }
.social {
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff;
  display: grid; place-items: center;
  transition: background .15s;
}
.social:hover { background: rgba(255,255,255,0.16); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  color: rgba(255,255,255,0.5); font-size: 13px;
  position: relative; z-index: 2; flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .legal a { color: inherit; text-decoration: none; }
.footer-scene {
  position: absolute; right: 0; bottom: 0;
  width: 540px; height: 320px; pointer-events: none; z-index: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 56px 32px 60px; gap: 40px; border-radius: 28px; }
  .hero h1 { font-size: 44px; }
  .hero p.lead { font-size: 16px; }
  .hero-mock { height: 460px; }

  .features { padding: 64px 28px; margin: 0 16px; border-radius: 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 34px; }

  .uc-grid { grid-template-columns: 1fr; height: auto; grid-auto-rows: minmax(200px, auto); }
  .uc-card.large { grid-row: auto; }

  .faq-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-strip { grid-template-columns: 1fr; padding: 44px 32px; text-align: center; border-radius: 28px; }
  .cta-strip h2 { font-size: 28px; }
  .cta-strip .cta-row { justify-content: center; }

  .lp-footer { padding: 56px 32px 32px; margin: 0 16px; border-radius: 28px 28px 0 0; }
  .lp-footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-scene { width: 320px; height: 200px; opacity: 0.6; }

  .wrap { padding: 0 24px; }
  .lp-section, .usecases, .faq { padding: 72px 0; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 36px; }
  .hero { padding: 44px 24px 50px; }
  .hero-mock { height: 380px; }
  .features-grid { grid-template-columns: 1fr; }
  .lp-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer .footer-grid .footer-brand { grid-column: 1 / -1; }
  .section-title { font-size: 28px; }
  .cta-strip h2 { font-size: 24px; }
  .hero-meta { gap: 12px; font-size: 12.5px; }
  .btn-primary, .btn-ghost { padding: 13px 20px; font-size: 14.5px; }
  .footer-scene { display: none; }
}
