/* ===== Reset & Tokens ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f0f4f8;
  --text: #111827;
  --muted: rgba(15, 23, 42, 0.62);
  --muted-2: rgba(15, 23, 42, 0.48);
  --stroke: rgba(15, 23, 42, 0.09);
  --accent: #111827;
  --accent-warm: rgba(180, 83, 9, 0.08);
  --radius-lg: 20px;
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 248, 245, 0.82);
  border-bottom: 1px solid var(--stroke);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  gap: 16px;
}

.brandline a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.lang-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lang-links a {
  text-decoration: none;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  transition: all 0.35s var(--ease-out);
}

.lang-links a:hover {
  border-color: rgba(15, 23, 42, 0.22);
  color: var(--text);
}

/* ===== Hero: Editorial Split ===== */
.hero {
  padding: 80px 0 40px;
}

.hero-inner {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 24px 80px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-inner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(180,83,9,0.06), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.7);
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 auto 28px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e11d48, #db2777);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.5s var(--ease-out);
  box-shadow: 0 12px 40px rgba(225, 29, 72, 0.25);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 56px rgba(225, 29, 72, 0.35);
  filter: brightness(1.06);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 0.9rem;
  transition: transform 0.5s var(--ease-out);
}

.cta-btn:hover .cta-arrow {
  transform: translateX(3px);
}

.cta-btn-lg {
  font-size: 1.08rem;
  padding: 16px 32px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-media-back {
  position: absolute;
  inset: auto 0 0 0;
  transform: rotate(1.5deg) translate(12px, -12px) scale(0.97);
  opacity: 0.45;
  filter: saturate(0.8) blur(0.3px);
}

.hero-media-front {
  position: relative;
  transform: rotate(-0.6deg);
}

/* ===== Sections base ===== */
.section {
  padding: 80px 0;
}

.section-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 40px;
  text-wrap: balance;
}

/* ===== Use Cases: clean rows with left border accent ===== */
.use-cases {
  background: var(--bg);
  border-top: 1px solid var(--stroke);
}

.use-case-rows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.uc-row {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  /* scroll reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.uc-row.revealed {
  opacity: 1;
  transform: translateY(0);
}

.uc-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.uc-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke);
}

.uc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.uc-row:hover .uc-image img {
  transform: scale(1.05);
}

.uc-body {
  padding: 24px;
}

.uc-body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.uc-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ===== Features: numbered editorial list ===== */
.features {
  position: relative;
}

.feature-marquee {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.fm-item {
  padding: 32px 28px;
  border-bottom: 1px solid var(--stroke);
  border-right: 1px solid var(--stroke);
  position: relative;
  transition: background 0.5s var(--ease-out);
  /* scroll reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), background 0.5s var(--ease-out);
}

.fm-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.fm-item:nth-child(3n) { border-right: none; }
.fm-item:nth-last-child(-n+3) { border-bottom: none; }

.fm-item:hover {
  background: rgba(180, 83, 9, 0.025);
}

.fm-num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fm-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.fm-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  color: var(--text);
}

.fm-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.fm-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== How-to: horizontal timeline ===== */
.how-to {
  background: var(--accent);
  color: #fff;
}

.how-to .section-kicker { color: rgba(255,255,255,0.45); }
.how-to .section-title { color: #fff; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* connecting line */
.timeline::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 21px;
  right: 21px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}

.tl-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.tl-step.revealed {
  opacity: 1;
  transform: translateY(0);
}

.tl-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-weight: 800;
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.tl-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-step p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.5;
}

/* ===== Privacy: horizontal banner ===== */
.privacy-banner {
  padding: 48px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.privacy-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.privacy-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.privacy-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
  color: var(--text);
}

.privacy-inner h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.privacy-inner p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 680px;
}

/* ===== CTA Bottom ===== */
.cta-bottom {
  text-align: center;
  padding: 64px 0;
}

/* ===== FAQ: native accordion ===== */
.faq {
  background: #fff;
  border-top: 1px solid var(--stroke);
}

.faq-list {
  max-width: 680px;
}

.faq-item {
  border-bottom: 1px solid var(--stroke);
  /* scroll reveal */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.faq-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s var(--ease-out);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--muted-2);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== Ad ===== */
.ad-slot {
  max-width: 980px;
  margin: 16px auto;
  text-align: center;
  padding: 0 24px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 28px 20px 40px;
  color: var(--muted-2);
  font-size: 0.85rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--stroke);
  transition: border-color 0.3s;
}

footer a:hover {
  border-color: rgba(15, 23, 42, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero { padding: 52px 0 32px; }

  .hero-inner { padding: 32px 22px; }

  .hero-media-back {
    transform: rotate(1deg) translate(8px, -8px) scale(0.98);
  }

  .use-case-rows {
    grid-template-columns: 1fr;
  }

  .uc-row {
    border-right: none !important;
  }

  .uc-row:last-child { border-bottom: none; }

  .feature-marquee {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .fm-item {
    border-right: none !important;
  }

  .fm-item:last-child { border-bottom: none; }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }

  .timeline::before { display: none; }

  .section { padding: 56px 0; }

  .section-title { margin-bottom: 28px; }
}

@media (max-width: 520px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tl-step { text-align: left; display: flex; gap: 14px; align-items: flex-start; }
  .tl-dot { margin: 0; flex-shrink: 0; }
  .tl-step p { text-align: left; }

  .lang-links { display: none; }
}
