/* ===================================================================
   Shareroo LP — v10
   Mobile-app one-pager · Premium · Mobile-first · RTL
   App color palette: coral / green / teal / gold / cream
   Promo-banner showcase · Stats strip · Review stars
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* App palette */
  --c-coral: #E77E63;
  --c-coral-deep: #D66A4F;
  --c-green: #89B960;
  --c-teal: #65BCBF;
  --c-gold: #E9C46A;
  --c-cream: #FFF7E6;

  --c-bg: #FFFFFF;
  --c-bg-sub: #F7F7F8;
  --c-bg-warm: #FFFBF7;

  --c-dark: #111318;
  --c-dark-2: #1C1F26;
  --c-dark-text: rgba(255,255,255,.92);
  --c-dark-text-2: rgba(255,255,255,.55);
  --c-dark-border: rgba(255,255,255,.08);

  --c-text: #424242;
  --c-text-1: #1A1A1A;
  --c-text-2: #6B6B6B;
  --c-text-3: #999FA8;
  --c-border: rgba(0,0,0,.06);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.03);
  --shadow-md: 0 2px 6px rgba(0,0,0,.05), 0 12px 28px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 16px rgba(0,0,0,.04), 0 24px 48px rgba(0,0,0,.07);
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-full: 9999px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Hiragino Sans", "Noto Sans", sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.25,.46,.45,.94);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Language-specific font stacks — prevent wrong CJK glyphs */
:lang(ja) {
  font-family: "Inter", -apple-system, BlinkMacSystemFont,
               "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Meiryo", "Noto Sans CJK JP", sans-serif;
}
:lang(zh-Hant) {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang TC",
               "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
}
:lang(ko) {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
}
:lang(th) {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Noto Sans Thai",
               "Leelawadee UI", "Thonburi", sans-serif;
}
:lang(ar) {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Noto Sans Arabic",
               "Geeza Pro", "Segoe UI", sans-serif;
}

h1, h2, h3, h4 { color: var(--c-text-1); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ===================================================================
   NAV — frosted glass
   =================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform .35s var(--ease);
}
.nav--visible { transform: translateY(0); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.nav__brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; background: var(--c-coral); color: #fff;
  font-size: .8rem; font-weight: 600; border-radius: var(--r-sm);
  transition: transform .15s, box-shadow .15s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(231,126,99,.3); }
.nav__cta:active { transform: scale(.97); }
.nav__cta svg { width: 13px; height: 13px; }

/* ===================================================================
   SECTION
   =================================================================== */
.section { padding: 4.5rem 0; }

/* Dark variant */
.section--dark {
  background: var(--c-dark);
  color: var(--c-dark-text);
}
.section--dark .section__heading { color: #fff; }
.section--dark .section__sub { color: var(--c-dark-text-2); }

/* Warm variant — cream background block */
.section--warm {
  background: var(--c-cream);
}
.section--warm .use-case-card { background: #fff; }
.section--warm .review-card { background: #fff; }

.section__heading {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em;
  text-align: center; text-wrap: balance;
  margin-bottom: .75rem;
}
.section__sub {
  font-size: clamp(.88rem, 2vw, 1rem); color: var(--c-text-2); text-align: center;
  max-width: 480px; margin: 0 auto 2.25rem; text-wrap: balance;
  line-height: 1.6;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  padding: 0 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-bg) 100%);
}
.hero__banner {
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 1.5rem;
}
.hero__banner img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-xl);
}
.hero__name-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 1.75rem 0 .75rem;
}
.hero__icon {
  width: 44px; height: 44px; border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.hero__app-name {
  font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 700;
  color: var(--c-coral); letter-spacing: .06em;
}
.hero__h1 {
  font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.04em;
  text-wrap: balance; margin-bottom: .5rem;
  color: var(--c-text-1);
}
.hero__answer {
  font-size: clamp(.88rem, 2vw, .95rem); color: var(--c-text-2);
  max-width: 540px; margin: 0 auto 1rem; line-height: 1.7;
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem); color: var(--c-text);
  max-width: 480px; margin: 0 auto 1.75rem; line-height: 1.65;
  text-wrap: balance; font-weight: 600;
}
.hero__cta-group {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; margin-top: .5rem; margin-bottom: 0;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 28px; border-radius: var(--r-md);
  font-size: .95rem; font-weight: 600; cursor: pointer;
  border: none; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s;
}
.btn--primary {
  background: var(--c-coral); color: #fff;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(231,126,99,.25), 0 12px 28px rgba(231,126,99,.12);
}
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost {
  background: transparent; color: var(--c-text-2);
  padding: 13px 16px;
}
.btn--ghost:hover { color: var(--c-text); }
.btn--on-dark {
  background: #fff; color: var(--c-text);
}
.btn--on-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,255,255,.12);
}
.btn--lg { padding: 18px 44px; font-size: 1.1rem; border-radius: var(--r-lg);
  box-shadow: 0 4px 14px rgba(231,126,99,.3);
}
.btn--lg .btn__icon { width: 20px; height: 20px; }
.btn__icon { width: 16px; height: 16px; }

/* ===================================================================
   USE-CASE CARDS — dense, tactile
   =================================================================== */
.use-cases { display: grid; gap: 12px; }
.use-case-card {
  background: var(--c-bg-sub);
  border-radius: var(--r-xl); padding: 2.5rem 2rem;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.use-case-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.use-case-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto .85rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
}
.use-case-card__icon svg {
  width: 26px; height: 26px; stroke-width: 1.8;
}
/* Each card accent */
.use-case-card--coral .use-case-card__icon { background: rgba(231,126,99,.12); color: var(--c-coral); }
.use-case-card--teal .use-case-card__icon { background: rgba(101,188,191,.12); color: var(--c-teal); }
.use-case-card--gold .use-case-card__icon { background: rgba(233,196,106,.15); color: var(--c-gold); }
.use-case-card__title {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 6px;
}
.use-case-card__desc {
  color: var(--c-text-2); font-size: .88rem; line-height: 1.6;
  margin-bottom: .85rem;
}
.use-case-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.use-case-card__tags span {
  font-size: .72rem; font-weight: 600; padding: 3px 10px;
  border-radius: var(--r-full); background: rgba(0,0,0,.04);
  color: var(--c-text-2);
}
.use-case-card--coral .use-case-card__tags span { background: rgba(231,126,99,.08); color: var(--c-coral-deep); }
.use-case-card--teal .use-case-card__tags span { background: rgba(101,188,191,.08); color: #4A9FA2; }
.use-case-card--gold .use-case-card__tags span { background: rgba(233,196,106,.1); color: #B08C2E; }

/* ===================================================================
   STATS STRIP — colourful numbers between sections
   =================================================================== */
.stats {
  padding: 3rem 0;
  background: var(--c-bg-sub);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}
.stats__item { display: flex; flex-direction: column; gap: 2px; }
.stats__number {
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.stats__number--coral { color: var(--c-coral); }
.stats__number--teal { color: var(--c-teal); }
.stats__number--gold { color: var(--c-gold); }
.stats__number--green { color: var(--c-green); }
.stats__label {
  font-size: .78rem; font-weight: 600;
  color: var(--c-text-2); letter-spacing: .01em;
}
.stats__source {
  text-align: center; font-size: .72rem; color: var(--c-text-3);
  margin-top: 1.25rem;
}
.stats__source a { color: var(--c-text-2); text-decoration: underline; }

/* ===================================================================
   FEATURE BLOCKS — full-width promo image + text below, alternating bg
   =================================================================== */
.section--features {
  padding-bottom: 0;
}
.features {
  display: flex; flex-direction: column;
}
.feature {
  padding: 3rem 0;
  background: var(--c-bg);
}
.feature--alt {
  background: var(--c-bg-sub);
}
.feature__img {
  display: block;
  max-width: 1040px; margin: 0 auto;
  padding: 0 24px;
  border-radius: 0;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.feature__img:hover {
  transform: translateY(-2px);
}
.feature__img img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
}
.feature__caption {
  max-width: 720px; margin: 1.5rem auto 0;
  padding: 0 24px;
  text-align: center;
}
.feature__heading {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 8px; line-height: 1.2;
  color: var(--c-text-1);
}
.feature__desc {
  color: var(--c-text-2); font-size: clamp(.95rem, 2vw, 1.05rem);
  line-height: 1.75;
}

/* ===================================================================
   SOCIAL PROOF — number + reviews
   =================================================================== */
.proof { text-align: center; }
.proof__number {
  font-size: clamp(3.5rem, 10vw, 5.5rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  color: var(--c-coral);
}
.proof__label {
  color: var(--c-text-2); font-size: 1rem; margin-top: 6px;
}
.proof__stars {
  display: flex; align-items: center; justify-content: center;
  gap: 2px; margin-top: 14px; font-size: 1.2rem; color: var(--c-gold);
}
.proof__rating {
  font-size: .85rem; font-weight: 600; color: var(--c-text-3);
  margin-left: 8px;
}

/* Reviews */
.reviews { display: grid; gap: 12px; margin-top: 2rem; }
.review-card {
  background: var(--c-bg-sub);
  border-radius: var(--r-lg); padding: 1.75rem 2rem;
}
.review-card__text {
  font-size: .92rem; line-height: 1.65; color: var(--c-text);
  margin-bottom: 8px;
}
.review-card__author {
  font-size: .78rem; color: var(--c-text-3); font-weight: 600;
}

/* Review card stars */
.review-card__stars {
  color: var(--c-gold); font-size: 1rem;
  letter-spacing: 1px; margin-bottom: 8px;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq-list { display: grid; gap: 2px; max-width: 640px; margin: 0 auto; }
.faq-item {
  background: var(--c-bg-sub); border-radius: 0;
  overflow: hidden;
  transition: background .15s;
}
.faq-item:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.faq-item:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.faq-item:only-child { border-radius: var(--r-lg); }
.faq-item[open] { background: #fff; }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: .92rem;
  padding: 16px 20px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.1rem; font-weight: 400;
  color: var(--c-text-3); flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  content: "\2212"; color: var(--c-text);
}
.faq-item__answer {
  padding: 0 20px 18px; color: var(--c-text-2);
  font-size: .88rem; line-height: 1.75;
}

/* ===================================================================
   FINAL CTA
   =================================================================== */
.final-cta {
  text-align: center; padding: 5.5rem 0 3rem;
  background: var(--c-dark);
  color: var(--c-dark-text);
}
.final-cta__heading {
  font-size: clamp(1.5rem, 4.5vw, 2.4rem); font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 1.75rem; text-wrap: balance;
  line-height: 1.15; color: #fff;
}
.final-cta .btn--on-dark:hover {
  box-shadow: 0 6px 20px rgba(231,126,99,.2);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--c-dark); color: rgba(255,255,255,.4);
  padding: 0 0 2.5rem; text-align: center; font-size: .8rem;
  border-top: 1px solid var(--c-dark-border);
}
.footer__links {
  list-style: none; display: flex; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 12px;
  padding-top: 2rem;
}
.footer__links a { color: rgba(255,255,255,.5); transition: color .15s; }
.footer__links a:hover { color: #fff; }
.footer__lang { margin-bottom: 12px; }
.footer__lang select {
  font-family: inherit; font-size: .8rem; padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  cursor: pointer;
}
.footer__lang select option { background: var(--c-dark); color: #fff; }
.footer__copy { color: rgba(255,255,255,.2); font-size: .72rem; }

/* ===================================================================
   STICKY CTA (mobile)
   =================================================================== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px; border-top: 1px solid var(--c-border);
  text-align: center;
  transform: translateY(100%); transition: transform .3s;
}
.sticky-cta--visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; max-width: 360px; padding: 11px 20px; }
.sticky-cta .btn--primary { background: var(--c-coral); }
body { padding-bottom: 64px; }

/* ===================================================================
   SCROLL REVEAL — subtle, fast (Bear/Flighty: fade-in主体)
   =================================================================== */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.reveal--visible { opacity: 1; transform: translate(0) scale(1); }

/* Stagger delays (use-case cards, stats items) */
.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }
.reveal-d4 { transition-delay: .24s; }

/* ===================================================================
   LANGUAGE SELECTOR
   =================================================================== */
.lang-selector {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.lang-selector__icon {
  width: 80px; height: 80px; border-radius: 18px;
  box-shadow: var(--shadow-md); margin-bottom: 1.5rem;
}
.lang-selector__title {
  font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 6px;
}
.lang-selector__sub { color: var(--c-text-2); margin-bottom: 2rem; }
.lang-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; width: 100%; max-width: 480px;
}
.lang-grid a {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px; background: var(--c-bg-sub);
  border-radius: var(--r-md);
  font-weight: 600; font-size: .9rem; color: var(--c-text);
  transition: transform .15s, box-shadow .15s;
}
.lang-grid a:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.lang-grid a .flag { font-size: 1.15em; }

/* ===================================================================
   HERO — portrait variant (vertical phone screenshots)
   =================================================================== */
.hero--portrait {
  padding: 0 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-bg) 100%);
}
.hero--portrait .hero__inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  padding-top: 56px;
}
.hero--portrait .hero__phone {
  width: 220px; flex-shrink: 0;
  margin-bottom: 1.5rem;
}
.hero--portrait .hero__phone img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero--portrait .hero__body {
  text-align: center;
}

/* Feature — portrait variant (text + phone side by side) */
.feature--portrait {
  padding: 3rem 0;
  background: var(--c-bg);
}
.feature--portrait.feature--alt {
  background: var(--c-bg-sub);
}
.feature--portrait .feature__inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  gap: 1.5rem;
}
.feature--portrait .feature__phone {
  width: 200px; flex-shrink: 0;
}
.feature--portrait .feature__phone a { display: block; }
.feature--portrait .feature__phone img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.feature--portrait .feature__phone a:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature--portrait .feature__caption {
  text-align: center; margin: 0; padding: 0;
  max-width: 480px;
}

/* ===================================================================
   TABLET (640px+)
   =================================================================== */
@media (min-width: 640px) {
  .section { padding: 5rem 0; }
  .hero { padding: 0 0 4rem; }
  .hero__banner { padding-top: 2rem; }

  .use-cases { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .lang-grid { grid-template-columns: repeat(3, 1fr); }

  .hero__cta-group { flex-direction: row; justify-content: center; }

  /* Portrait hero — tablet */
  .hero--portrait .hero__inner {
    flex-direction: row; text-align: left; gap: 2.5rem;
    padding-top: 72px;
  }
  .hero--portrait .hero__phone { width: 240px; margin-bottom: 0; }
  .hero--portrait .hero__body { text-align: left; }
  .hero--portrait .hero__body .hero__name-row { justify-content: flex-start; }
  .hero--portrait .hero__body .hero__cta-group { justify-content: flex-start; }

  /* Portrait feature — tablet: side by side, alternating */
  .feature--portrait .feature__inner {
    flex-direction: row; text-align: left; gap: 2.5rem;
  }
  .feature--portrait .feature__caption { text-align: left; }
  .feature--portrait.feature--reverse .feature__inner {
    flex-direction: row-reverse;
  }
}

/* ===================================================================
   DESKTOP (960px+)
   =================================================================== */
@media (min-width: 960px) {
  .section { padding: 6rem 0; }

  .hero { padding: 0 0 5rem; }
  .hero__banner { padding: 0; padding-top: 2.5rem; }
  .feature__img { padding: 0; }
  .feature { padding: 4rem 0; }

  .final-cta { padding: 6rem 0 3.5rem; }

  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  .lang-grid { grid-template-columns: repeat(4, 1fr); }

  /* Portrait hero — desktop */
  .hero--portrait .hero__inner { gap: 3.5rem; padding-top: 80px; }
  .hero--portrait .hero__phone { width: 280px; }

  /* Portrait feature — desktop */
  .feature--portrait { padding: 4rem 0; }
  .feature--portrait .feature__inner { gap: 3.5rem; }
  .feature--portrait .feature__phone { width: 240px; }
  .feature--portrait .feature__caption { max-width: 520px; }
}

/* ===================================================================
   ACCESSIBILITY
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--c-coral); outline-offset: 2px; }

/* ===================================================================
   RTL (ar-SA)
   =================================================================== */
/* RTL — no layout changes needed for center-aligned design */
