/* ─────────────────────────────────────────────────────────────────────────
   Payya design system — shared website stylesheet
   Source of truth for redesigned pages (see docs/website-redesign-strategy.md).
   Extracted from the canonical implementation in business.html.
   Existing pages keep their inline styles until they are rebuilt.
   ───────────────────────────────────────────────────────────────────────── */

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

:root {
  /* Brand */
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-deeper: #115E59;
  --teal-light: #2DD4BF;
  --teal-100: #CCFBF1;
  --teal-50: #F0FDFA;

  /* Ink */
  --ink: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #64748B;
  --ink-faint: #94A3B8;

  /* Surfaces */
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --white: #FFFFFF;

  /* Accents */
  --warn: #B45309;
  --warn-50: #FFFBEB;
  --warn-100: #FEF3C7;
  --success: #166534;
  --success-50: #DCFCE7;

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Elevation */
  --shadow-card: 0 4px 14px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.09);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-cta: 0 4px 20px rgba(13, 148, 136, 0.25);
}

html { scroll-behavior: smooth; }

/* Keep anchored sections clear of the fixed nav */
[id] { scroll-margin-top: 84px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Scroll reveal ─────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Nav ───────────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 32px; width: auto; display: block; }
.brand span {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.5px;
}

.nav-links { display: flex; align-items: center; gap: 22px; }

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--teal); }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--teal);
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: none;
  border: none;
  padding: 12px 4px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-secondary:hover { color: var(--teal); }
.btn-secondary svg {
  width: 16px; height: 16px;
  stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 13px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.btn-outline:hover { transform: translateY(-1px); background: var(--teal-100); }

/* ── Section shell ─────────────────────────────────────────────────────── */

section { padding: 96px 28px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 880px; margin: 0 auto; }
.section-wide { max-width: 1180px; margin: 0 auto; }

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  text-align: center;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.65;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--teal-100);
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--teal-100);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.step-card h3, .card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.step-card p, .card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Industry / link tile */
.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13, 148, 136, 0.08); }
.tile-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.tile span { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }

/* Trust card */
.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.trust-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.trust-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.trust-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* Notification / UI-moment card (product storytelling) */
.notif-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.notif-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-icon.teal { background: var(--teal-50); color: var(--teal); }
.notif-icon.green { background: var(--success-50); color: var(--success); }
.notif-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.notif-body { flex: 1; }
.notif-title { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }
.notif-msg { font-size: 13px; color: var(--ink-muted); margin-top: 3px; line-height: 1.45; }
.notif-amount { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 6px; letter-spacing: -0.3px; }
.notif-meta {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 8px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 28px 96px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-grid > * { min-width: 0; }

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

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; z-index: 1; display: flex; justify-content: center; }

/* ── Trust strip ───────────────────────────────────────────────────────── */

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}
.trust-strip-item svg {
  width: 16px; height: 16px;
  stroke: var(--teal); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ── CTA band ──────────────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, var(--teal-deeper), var(--teal));
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.cta-band p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.cta-band .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ── FAQ accordion ─────────────────────────────────────────────────────── */

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  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: 20px;
  font-weight: 500;
  color: var(--teal);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-body {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 60px 28px 40px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-brand img { height: 21px; width: auto; display: block; }
.footer-brand span { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.footer-tagline { font-size: 14px; color: var(--ink-faint); }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }

.footer-copy {
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
}

@media (max-width: 860px) {
  .footer-cols { gap: 36px; }
}

@media (max-width: 768px) {
  .site-nav { padding: 14px 20px; }
  .nav-links { gap: 14px; }

  .hero { padding: 110px 20px 64px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { order: 1; }
  .hero-media { order: 2; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  section { padding: 72px 20px; }
  .section-sub { margin-bottom: 40px; }

  .cta-band { padding: 44px 24px; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-cols { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1.1px; }
  .nav-links { gap: 12px; }
  .nav-link { font-size: 13px; }
  .nav-cta { padding: 10px 18px; font-size: 13px; }
}
