/* ============================================================
   Plavue — page sections + hero variants
   ============================================================ */

/* ---------------- HERO ---------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(230,81,0,.05), transparent 70%),
    radial-gradient(50% 45% at 12% 88%, rgba(26,35,126,.045), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 56px; padding: 64px 0 88px; }
.hero-copy { max-width: 560px; }
@media (min-width: 1024px) {
  [data-hero="split"] .hero-copy,
  [data-hero="showcase"] .hero-copy { padding-left: 36px; }
}
.hero-eyebrow { margin-bottom: 22px; }
.slogan { margin: 0 0 22px; }
.slogan .l1, .slogan .l2 { display: block; }
.slogan .accent { color: var(--private); }
.hero-sub { color: var(--charcoal); margin: 0 0 34px; max-width: 460px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--steel); display: flex; align-items: center; gap: 7px; }

.hero-visual { display: flex; justify-content: center; position: relative; }

/* variant: split (default) — copy left, phone right */
[data-hero="split"] .hero-grid { grid-template-columns: 1fr 0.85fr; }

/* variant: center — stacked, centered */
[data-hero="center"] .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 72px; }
[data-hero="center"] .hero-copy { max-width: 680px; }
[data-hero="center"] .hero-sub { margin-left: auto; margin-right: auto; max-width: 520px; }
[data-hero="center"] .hero-cta { justify-content: center; }
[data-hero="center"] .hero-note { justify-content: center; }
[data-hero="center"] .slogan { font-size: 64px; }
[data-hero="center"] .hero-visual { margin-top: 8px; }
[data-hero="center"] .hero-phone-wrap { transform: none; }

/* variant: showcase — phone with floating moment cards */
[data-hero="showcase"] .hero-grid { grid-template-columns: 1fr 0.95fr; }
[data-hero="showcase"] .hero-visual { min-height: 640px; align-items: center; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--glow-2); border: 1px solid var(--hairline-soft); width: 188px; z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
[data-hero="showcase"] .float-card { display: flex; }
.float-card { display: none; }
.float-card .moment-card { border: none; box-shadow: none; padding: 0 0 0 12px; }
.float-card.fc-1 { top: 38px; left: -18px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 96px; right: -26px; animation-delay: 1.3s; }
.float-card.fc-3 { bottom: 14px; left: 6px; animation-delay: 2.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-phone-wrap { position: relative; z-index: 2; }

/* ---------------- Moment signature section ---------------- */
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.sig-card {
  border-radius: var(--r-xxxl); padding: 32px; border: 1px solid var(--hairline-soft);
  position: relative; overflow: hidden; background: #fff;
  transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.sig-card:hover { transform: translateY(-5px); box-shadow: var(--glow-1); }
.sig-card .sig-swatch { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 22px; }
.sig-card .sig-en { font-size: 13px; font-weight: 700; letter-spacing: .4px; margin-bottom: 4px; }
.sig-private .sig-swatch { background: var(--private); } .sig-private .sig-en { color: var(--private); }
.sig-shared .sig-swatch { background: var(--shared); } .sig-shared .sig-en { color: var(--shared-deep); }
.sig-public .sig-swatch { background: var(--public); } .sig-public .sig-en { color: var(--public); }
.sig-card h3 { margin: 0 0 10px; }
.sig-card p { margin: 0; color: var(--charcoal); }
.sig-card .sig-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.sig-private .sig-strip { background: var(--private); }
.sig-shared .sig-strip { background: var(--shared); }
.sig-public .sig-strip { background: var(--public); }

/* ---------------- Feature split rows ---------------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat.reverse .feat-media { order: 2; }
.feat.reverse .feat-copy { order: 1; }
.feat-copy { max-width: 480px; }
.feat-copy .eyebrow { margin-bottom: 16px; }
.feat-copy h2 { margin: 0 0 18px; }
.feat-copy .lead { color: var(--charcoal); margin: 0 0 26px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; }
.feat-list .fi-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--surface-muted); color: var(--ink-deep);
}
.feat-list .fi-ico svg { width: 17px; height: 17px; }
.feat-list .fi-t { font-size: 15px; font-weight: 600; color: var(--ink-deep); }
.feat-list .fi-d { font-size: 13.5px; color: var(--slate); margin-top: 2px; line-height: 1.45; }
.feat-media { display: flex; justify-content: center; }

/* tinted media backdrops */
.media-pad { border-radius: var(--r-feature); padding: 44px 0; width: 100%; display: flex; justify-content: center; position: relative; overflow: hidden; }
.media-pad.tint-shared { background: linear-gradient(160deg, var(--shared-soft), #f6f8ee); }
.media-pad.tint-public { background: linear-gradient(160deg, var(--public-soft), #f1f2fa); }
.media-pad.tint-private { background: linear-gradient(160deg, var(--private-soft), #fff6ec); }
.media-pad.tint-neutral { background: linear-gradient(160deg, var(--surface-muted), #fafafb); }

/* ---------------- 3-up trust ---------------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.trust-card .tc-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--surface-muted);
  display: grid; place-items: center; color: var(--ink-deep); margin-bottom: 16px; }
.trust-card .tc-ico svg { width: 20px; height: 20px; }
.trust-card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--ink-deep); }
.trust-card p { margin: 0; font-size: 13.5px; color: var(--slate); line-height: 1.5; }

/* ---------------- Section heading block ---------------- */
.sec-head { max-width: 640px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 { margin: 0 0 16px; }
.sec-head p { margin: 0; color: var(--charcoal); }

/* ---------------- Final CTA strip ---------------- */
.cta-strip {
  background: var(--ink-deep); color: #fff; border-radius: var(--r-feature);
  padding: 72px 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-strip .glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 90% at 50% 0%, rgba(230,81,0,.22), transparent 70%);
}
.cta-strip h2 { margin: 0 0 14px; color: #fff; position: relative; }
.cta-strip p { margin: 0 auto 30px; color: rgba(255,255,255,.72); max-width: 460px; position: relative; }
.cta-strip .hero-cta { justify-content: center; position: relative; }
.cta-strip .store-btn { background: #fff; color: var(--ink-deep); }
.cta-strip .store-btn:hover { background: #f0f0f0; }

/* ---------------- Footer ---------------- */
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 72px 0 0; }
.footer .logo-word { background: linear-gradient(135deg,#F57C1F,#E65100); -webkit-background-clip: text; background-clip: text; }
.footer-desc { font-size: 14px; line-height: 1.7; color: #a6a6a6; max-width: 320px; margin: 20px 0 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a3a3a; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #cfcfcf; transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: #777; color: #fff; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #8a8a8a; text-transform: uppercase; margin: 0 0 22px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: #cfcfcf; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 0; margin-top: 56px; border-top: 1px solid #2c2c2c;
  font-size: 12px; color: #777; letter-spacing: .3px;
}
.footer-bottom .biz { color: #5c5c5c; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1023px) {
  .slogan { font-size: 44px; }
  [data-hero] .hero-grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
  .hero-copy { max-width: 600px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .feat { grid-template-columns: 1fr; gap: 36px; }
  .feat.reverse .feat-media, .feat.reverse .feat-copy { order: initial; }
  .feat-copy { max-width: 560px; margin: 0 auto; }
  .sig-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .section { padding: 64px 0; }
  .slogan { font-size: 34px; }
  [data-hero="center"] .slogan { font-size: 36px; }
  .t-display { font-size: 32px; }
  .nav-links { display: none; }
  .cta-strip { padding: 52px 26px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
