/* ============================================================
   ReceiptKid Marketing Site — Stylesheet
   Fairness. Caring. Gratitude.
   ============================================================ */

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

:root {
  --rk-primary: #1B9E75;
  --rk-primary-dark: #0F6E56;
  --rk-primary-light: #E1F5EE;
  --rk-primary-mid: #5DCAA5;
  --rk-bg: #FAFAF8;
  --rk-surface: #F4F4F1;
  --rk-surface-white: #FFFFFF;
  --rk-border: #E4E4DE;
  --rk-text: #1A1A18;
  --rk-text-secondary: #6B6B65;
  --rk-text-tertiary: #9B9B94;
  --rk-amber: #EF9F27;
  --rk-red: #E24B4A;
  --rk-max: 1200px;
  --rk-nav-h: 68px;
  --rk-radius: 16px;
  --rk-radius-sm: 12px;
  --rk-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --rk-shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  color-scheme: light dark;
}

html.dark {
  --rk-bg: #141412;
  --rk-surface: #1E1E1B;
  --rk-surface-white: #242420;
  --rk-border: #2E2E2A;
  --rk-text: #F0F0EC;
  --rk-text-secondary: #9B9B94;
  --rk-text-tertiary: #6B6B65;
  --rk-primary-light: #1A3D2F;
  --rk-shadow: 0 2px 12px rgba(0,0,0,0.2);
  --rk-shadow-lg: 0 8px 32px rgba(0,0,0,0.3);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--rk-bg);
  color: var(--rk-text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- SKIP NAV ---- */
.skip-nav {
  position: absolute; top: -100%; left: 16px;
  padding: 12px 24px; background: var(--rk-primary); color: #fff;
  border-radius: var(--rk-radius-sm); font-weight: 600; z-index: 200;
  transition: top 0.2s;
}
.skip-nav:focus { top: 12px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, .hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--rk-text);
  line-height: 1.1;
}
h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
}
.hero-headline {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 600; line-height: 1.15; }
.body-large { font-size: 20px; line-height: 1.7; }
.caption { font-size: 14px; font-weight: 500; line-height: 1.5; }

/* ---- UTILITIES ---- */
.container { max-width: var(--rk-max); margin: 0 auto; padding: 0 1.5rem; }
.text-primary { color: var(--rk-primary); }
.text-secondary { color: var(--rk-text-secondary); }
.text-tertiary { color: var(--rk-text-tertiary); }
.text-center { text-align: center; }
.section-label {
  display: inline-block; font-size: 14px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--rk-primary);
  margin-bottom: 12px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: var(--rk-radius-sm); font-weight: 600; font-size: 18px;
  cursor: pointer; transition: all 0.2s ease; border: none; white-space: nowrap;
  text-decoration: none; line-height: 1;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.btn:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px;
}
.btn-primary {
  background: var(--rk-primary); color: #fff;
}
.btn-primary:hover {
  background: var(--rk-primary-dark);
  transform: scale(1.02);
}
.btn-ghost {
  background: transparent; border: 2px solid var(--rk-primary); color: var(--rk-primary);
}
.btn-ghost:hover {
  background: var(--rk-primary); color: #fff;
  transform: scale(1.02);
}
.btn-white {
  background: #fff; color: var(--rk-primary-dark);
}
.btn-white:hover {
  background: var(--rk-surface); transform: scale(1.02);
}
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; }

/* ---- NAV ---- */
.rk-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rk-border);
  height: var(--rk-nav-h);
  transition: all 0.3s ease;
}
html.dark .rk-nav {
  background: rgba(20, 20, 18, 0.9);
}
.rk-nav.slim {
  height: 48px;
}
.nav-inner {
  max-width: var(--rk-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 20px; color: var(--rk-text);
  text-decoration: none;
}
.nav-logo img {
  height: 32px; width: auto;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--rk-text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rk-text); }
.nav-links a:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px; border-radius: 4px;
}
.nav-actions {
  display: flex; align-items: center; gap: 12px;
}
.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--rk-text); padding: 8px;
}
.nav-mobile-toggle:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px; border-radius: 4px;
}
.theme-toggle {
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--rk-text-secondary); display: flex; align-items: center;
  border-radius: 8px; transition: color 0.2s;
}
.theme-toggle:hover { color: var(--rk-text); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px;
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: block; }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--rk-bg); z-index: 99; padding: 80px 24px 32px;
  flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 18px; font-weight: 500;
  color: var(--rk-text); border-bottom: 1px solid var(--rk-border);
}
.mobile-menu a:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px; border-radius: 4px;
}
.mobile-menu .mobile-cta {
  margin-top: auto; padding-top: 24px;
}
.mobile-menu .mobile-cta .btn { width: 100%; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--rk-nav-h) + 48px) 0 80px;
  position: relative; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 55% 45%; gap: 48px;
  align-items: center; max-width: var(--rk-max); margin: 0 auto; padding: 0 1.5rem;
  position: relative; z-index: 1;
}
.hero-copy { max-width: 560px; }
.hero-headline .highlight { color: var(--rk-primary); }
.hero-sub {
  font-size: 20px; color: var(--rk-text-secondary); margin-top: 24px; line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap;
}
.hero-trust {
  margin-top: 24px; font-size: 14px; color: var(--rk-text-tertiary); line-height: 1.6;
}
.hero-trust .stars { color: var(--rk-amber); font-size: 16px; }
.hero-trust blockquote {
  font-style: italic; margin: 8px 0; color: var(--rk-text-secondary);
}
.hero-mockup {
  position: relative; display: flex; justify-content: center;
}
.hero-blob {
  position: absolute; top: -10%; right: -20%; width: 140%; height: 120%;
  background: var(--rk-primary-light); border-radius: 50% 40% 60% 30%;
  z-index: 0; opacity: 0.6;
}
.phone-frame {
  position: relative; z-index: 1;
  width: 280px; background: var(--rk-text);
  border-radius: 36px; padding: 12px;
  box-shadow: var(--rk-shadow-lg);
  transform: perspective(800px) rotateY(-12deg) rotateX(4deg);
}
.phone-frame-flat {
  transform: none;
}
.phone-screen {
  background: var(--rk-surface-white); border-radius: 26px;
  overflow: hidden; aspect-ratio: 9 / 19.5;
  display: flex; align-items: center; justify-content: center;
  color: var(--rk-text-tertiary); font-size: 14px; text-align: center;
  padding: 16px;
}
.phone-frame-secondary {
  position: absolute; right: -30%; top: 20%; z-index: 0; width: 240px;
  opacity: 0.85;
}

/* ---- SECTIONS ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--rk-primary-light); }
.section-brand { background: var(--rk-primary); color: #fff; }
.section-brand h2, .section-brand .hero-headline { color: #fff; }
.section-brand .body-large { color: rgba(255,255,255,0.85); }

/* ---- PAIN CARDS ---- */
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.pain-card {
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius); padding: 28px; box-shadow: var(--rk-shadow);
}
.pain-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(239, 159, 39, 0.12); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; color: var(--rk-amber);
}
.pain-card h3 { margin-bottom: 12px; }
.pain-card p { color: var(--rk-text-secondary); font-size: 16px; line-height: 1.6; }

/* ---- STEPS ---- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  margin-top: 48px; position: relative;
}
.step { text-align: center; position: relative; }
.step-number {
  font-family: 'Fraunces', Georgia, serif; font-size: 72px; font-weight: 700;
  color: var(--rk-primary); opacity: 0.15; line-height: 1;
  margin-bottom: -20px; position: relative; z-index: 0;
}
.step-icon {
  width: 80px; height: 80px; margin: 0 auto 20px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--rk-primary);
}
.step-icon svg { width: 56px; height: 56px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--rk-text-secondary); font-size: 16px; line-height: 1.6; max-width: 320px; margin: 0 auto; }
.steps-connector {
  display: none;
}

/* ---- FEATURES ---- */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 64px 0;
}
.feature-block:not(:last-child) { border-bottom: 1px solid var(--rk-border); }
.feature-block.reversed { direction: rtl; }
.feature-block.reversed > * { direction: ltr; }
.feature-points { list-style: none; }
.feature-points li {
  display: flex; gap: 12px; padding: 12px 0;
  font-size: 17px; color: var(--rk-text-secondary);
}
.feature-points li svg {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--rk-primary); margin-top: 2px;
}
.feature-screenshot {
  background: var(--rk-surface); border-radius: var(--rk-radius);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  color: var(--rk-text-tertiary); font-size: 14px; border: 1px solid var(--rk-border);
}

/* ---- REVIEWS ---- */
.reviews-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 0 24px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 380px; scroll-snap-align: start;
  background: var(--rk-surface-white); border-left: 3px solid var(--rk-primary);
  border-radius: var(--rk-radius-sm); padding: 28px; box-shadow: var(--rk-shadow);
  min-height: 180px; display: flex; flex-direction: column; justify-content: space-between;
}
.review-card blockquote {
  font-size: 17px; line-height: 1.6; color: var(--rk-text); font-style: italic;
}
.review-card cite {
  display: block; margin-top: 16px; font-size: 14px; font-style: normal;
  color: var(--rk-text-tertiary);
}
.review-nav {
  display: flex; gap: 12px; margin-top: 24px; justify-content: center;
}
.review-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rk-border);
  background: var(--rk-surface-white); cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: var(--rk-text);
  transition: all 0.2s;
}
.review-nav button:hover { border-color: var(--rk-primary); color: var(--rk-primary); }
.review-nav button:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px;
}
.rating-badges {
  display: flex; gap: 16px; margin-top: 32px; justify-content: center; flex-wrap: wrap;
}
.rating-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rk-primary); color: #fff; padding: 8px 18px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* ---- DOWNLOAD CTA ---- */
.download-cta-content {
  text-align: center; max-width: 640px; margin: 0 auto;
}
.store-buttons {
  display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--rk-primary-dark); padding: 14px 28px;
  border-radius: var(--rk-radius-sm); font-weight: 600; font-size: 16px;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.store-btn:hover { transform: scale(1.02); box-shadow: var(--rk-shadow-lg); }
.store-btn:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
.store-btn svg { width: 24px; height: 24px; }
.qr-section {
  margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.qr-placeholder {
  width: 120px; height: 120px; background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--rk-text-tertiary); font-size: 12px;
}

/* ---- FOOTER ---- */
.rk-footer {
  background: var(--rk-surface); border-top: 1px solid var(--rk-border);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: var(--rk-max); margin: 0 auto; padding: 0 1.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 12px; color: var(--rk-text-secondary); font-size: 15px;
  max-width: 300px; line-height: 1.6;
}
.footer-col h4 {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 16px; color: var(--rk-text);
}
.footer-col a {
  display: block; padding: 5px 0; font-size: 15px; color: var(--rk-text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rk-primary); }
.footer-col a:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px; border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--rk-border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--rk-text-tertiary);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--rk-text-tertiary); }
.footer-bottom-links a:hover { color: var(--rk-primary); }

/* ---- PAGE HEADER ---- */
.page-header {
  padding: calc(var(--rk-nav-h) + 64px) 0 48px;
  text-align: center;
}
.page-header h1 { margin-bottom: 16px; }
.page-header .body-large { color: var(--rk-text-secondary); max-width: 640px; margin: 0 auto; }

/* ---- PRICING ---- */
.pricing-card {
  max-width: 480px; margin: 48px auto 0;
  background: var(--rk-surface-white); border: 2px solid var(--rk-primary);
  border-radius: var(--rk-radius); padding: 40px; text-align: center;
  box-shadow: var(--rk-shadow-lg);
}
.pricing-card .price {
  font-family: 'Fraunces', Georgia, serif; font-size: 56px; font-weight: 700;
  color: var(--rk-primary); line-height: 1;
}
.pricing-card .price-period {
  font-size: 18px; color: var(--rk-text-secondary); margin-top: 4px;
}
.pricing-features {
  list-style: none; text-align: left; margin: 32px 0;
}
.pricing-features li {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  font-size: 17px; color: var(--rk-text);
}
.pricing-features li svg {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--rk-primary);
}
.pricing-plus {
  max-width: 480px; margin: 48px auto 0;
  background: var(--rk-surface); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius); padding: 32px; text-align: center;
}
.coming-soon-badge {
  display: inline-block; background: var(--rk-primary-light); color: var(--rk-primary);
  padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 12px;
}

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--rk-border);
}
.faq-q {
  width: 100%; background: none; border: none; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: 18px; font-weight: 600; color: var(--rk-text);
  text-align: left; font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.faq-q:focus-visible {
  outline: 2px solid var(--rk-primary); outline-offset: 2px; border-radius: 4px;
}
.faq-q svg {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--rk-text-tertiary);
  transition: transform 0.2s;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p {
  padding: 0 0 20px; color: var(--rk-text-secondary); font-size: 16px; line-height: 1.7;
}

/* ---- DOWNLOAD PAGE ---- */
.download-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 640px; margin: 48px auto 0;
}
.download-card {
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius); padding: 32px; text-align: center;
  box-shadow: var(--rk-shadow);
}
.download-card h3 { margin-bottom: 8px; }
.download-card p { color: var(--rk-text-secondary); font-size: 15px; margin-bottom: 20px; }

/* ---- ABOUT ---- */
.about-content {
  max-width: 720px; margin: 0 auto;
}
.about-content p {
  margin-bottom: 20px; font-size: 18px; line-height: 1.8; color: var(--rk-text-secondary);
}
.about-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 48px 0;
}
.value-card {
  background: var(--rk-primary-light); border-radius: var(--rk-radius);
  padding: 28px; text-align: center;
}
.value-card h3 { color: var(--rk-primary-dark); margin-bottom: 8px; }
.value-card p { font-size: 15px; color: var(--rk-text-secondary); }

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 720px; margin: 0 auto; padding-bottom: 64px;
}
.legal-content h2 {
  font-size: 24px; margin-top: 40px; margin-bottom: 16px;
}
.legal-content p, .legal-content li {
  font-size: 16px; line-height: 1.8; color: var(--rk-text-secondary); margin-bottom: 16px;
}
.legal-content ul { padding-left: 24px; }
.legal-content a { color: var(--rk-primary); text-decoration: underline; }

/* ---- EXPANDED STEP (how-it-works page) ---- */
.expanded-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 64px 0;
}
.expanded-step:not(:last-child) { border-bottom: 1px solid var(--rk-border); }
.expanded-step.reversed { direction: rtl; }
.expanded-step.reversed > * { direction: ltr; }
.expanded-step-content .step-number {
  font-size: 48px; margin-bottom: 0;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .phone-frame { transform: none; }
  .btn:hover { transform: none; }
  .store-btn:hover { transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ============================================================
   FEATURE CARD GRID (RoomPulse-style SVG illustrations)
   ============================================================ */

.rk-feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.rk-feature-card {
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius); overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.rk-feature-card:hover { transform: translateY(-3px); box-shadow: var(--rk-shadow-lg); }
.rk-feature-illustration { width: 100%; overflow: hidden; flex-shrink: 0; }
.rk-feature-illustration svg { display: block; width: 100%; height: auto; }
.rk-feature-content {
  padding: 18px 20px 22px; border-top: 1px solid var(--rk-border);
}
.rk-feature-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--rk-primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--rk-primary);
}
.rk-feature-icon svg { width: 20px; height: 20px; }
.rk-feature-content h3 { font-size: 17px; margin-bottom: 6px; }
.rk-feature-content p { font-size: 14px; color: var(--rk-text-secondary); line-height: 1.6; margin: 0; }

/* ---- STAT GRID ---- */
.stat-grid-v2 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 48px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.stat-card-v2 {
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius-sm); padding: 24px 20px; text-align: center;
  box-shadow: var(--rk-shadow);
}
.stat-value-v2 {
  font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 700;
  color: var(--rk-primary); line-height: 1; display: block; margin-bottom: 6px;
}
.stat-label-v2 { font-size: 13px; color: var(--rk-text-secondary); line-height: 1.4; }

/* ---- SOCIAL PROOF BAR ---- */
.social-bar {
  border-top: 1px solid var(--rk-border); border-bottom: 1px solid var(--rk-border);
  padding: 16px 0;
}
.social-bar-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px; max-width: var(--rk-max); margin: 0 auto; padding: 0 1.5rem;
}
.social-bar-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rk-text-tertiary); white-space: nowrap;
}
.audience-pill {
  background: var(--rk-surface); border: 1px solid var(--rk-border);
  border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 500;
  color: var(--rk-text-secondary);
}

/* ---- TESTIMONIALS ---- */
.testimonial-grid-v2 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.testimonial-card-v2 {
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius); padding: 28px; box-shadow: var(--rk-shadow);
  display: flex; flex-direction: column;
}
.testimonial-stars { color: var(--rk-amber); font-size: 13px; letter-spacing: 1px; margin-bottom: 12px; }
.testimonial-quote-v2 { font-size: 16px; line-height: 1.7; color: var(--rk-text); flex: 1; margin-bottom: 20px; }
.testimonial-attr-v2 { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar-v2 {
  width: 40px; height: 40px; border-radius: 50%; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-name-v2 { font-size: 14px; font-weight: 600; color: var(--rk-text); }
.testimonial-role-v2 { font-size: 12px; color: var(--rk-text-tertiary); margin-top: 1px; }

/* ---- HERO PHONE FLOATING BADGES ---- */
.hero-phone-wrap { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-phone-svg { width: 260px; filter: drop-shadow(0 24px 48px rgba(0,0,0,0.14)); }
.hero-floating-badge {
  position: absolute; bottom: 24px; left: -16px; z-index: 2;
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: 12px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 10px; max-width: 200px;
}
.hero-badge-icon { font-size: 20px; flex-shrink: 0; }
.hero-badge-title { font-weight: 700; font-size: 12px; color: var(--rk-text); }
.hero-badge-sub { font-size: 11px; color: var(--rk-text-tertiary); }
.hero-floating-badge-2 {
  position: absolute; top: 48px; right: -20px; z-index: 2;
  background: var(--rk-primary); border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(27,158,117,0.4); text-align: center;
}
.hero-badge-2-amount { font-size: 22px; font-weight: 700; color: white; font-family: 'Fraunces', Georgia, serif; line-height: 1; }
.hero-badge-2-label { font-size: 10px; color: rgba(255,255,255,0.8); margin-top: 2px; }

@media (max-width: 1024px) {
  .rk-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid-v2 { grid-template-columns: 1fr; gap: 16px; }
  .hero-floating-badge, .hero-floating-badge-2 { display: none; }
}
@media (max-width: 640px) {
  .rk-feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOCK APP UI — HTML/CSS app screen renderings
   ============================================================ */

.mock-app {
  height: 100%; display: flex; flex-direction: column;
  background: #FAFAF8; border-radius: 24px; overflow: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.mock-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 12px 4px; font-size: 7.5px; font-weight: 600; color: #1A1A18;
  flex-shrink: 0;
}
.mock-status-bar .mock-time { font-weight: 700; }
.mock-status-icons { display: flex; gap: 3px; align-items: center; }
.mock-status-icons span { font-size: 7px; }
.mock-app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 12px 8px; border-bottom: 1px solid #E4E4DE; flex-shrink: 0;
}
.mock-app-title { font-weight: 700; font-size: 13px; color: #1A1A18; }
.mock-header-icon { width: 18px; height: 18px; border-radius: 50%; background: #E1F5EE; display: flex; align-items: center; justify-content: center; }
.mock-balance-card {
  margin: 8px 10px 6px; background: linear-gradient(135deg, #1B9E75, #0F6E56);
  border-radius: 12px; padding: 10px 12px; color: white; flex-shrink: 0;
}
.mock-bal-label { font-size: 8.5px; opacity: 0.85; display: block; letter-spacing: 0.03em; }
.mock-bal-amount { font-size: 22px; font-weight: 700; display: block; margin-top: 1px; font-family: 'Fraunces', Georgia, serif; line-height: 1.1; }
.mock-bal-sub { font-size: 7.5px; opacity: 0.7; margin-top: 3px; display: block; }
.mock-section-label { padding: 6px 12px 3px; font-size: 8px; text-transform: uppercase; letter-spacing: 0.06em; color: #9B9B94; font-weight: 600; flex-shrink: 0; }
.mock-member-list { padding: 0 10px; flex-shrink: 0; }
.mock-member-row {
  display: flex; align-items: center; gap: 6px; padding: 5px 0;
  border-bottom: 1px solid #E4E4DE;
}
.mock-member-row:last-child { border-bottom: none; }
.mock-avatar-circle {
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 9px; font-weight: 700; flex-shrink: 0;
}
.mock-member-name { flex: 1; font-size: 9.5px; font-weight: 600; color: #1A1A18; }
.mock-member-role { font-size: 8px; color: #9B9B94; }
.mock-member-bal { font-size: 9.5px; font-weight: 700; }
.mock-member-bal.owed { color: #E24B4A; }
.mock-member-bal.square { color: #1B9E75; }
.mock-claim-list { flex: 1; overflow: hidden; padding: 0 10px; }
.mock-claim-row {
  display: flex; align-items: center; gap: 5px; padding: 4px 0;
  border-bottom: 1px solid #F4F4F1;
}
.mock-claim-row:last-child { border-bottom: none; }
.mock-claim-dot {
  width: 18px; height: 18px; border-radius: 6px; background: #E1F5EE;
  display: flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0;
}
.mock-claim-info { flex: 1; min-width: 0; }
.mock-claim-title { font-size: 8.5px; font-weight: 600; color: #1A1A18; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-claim-meta { font-size: 7.5px; color: #9B9B94; }
.mock-claim-right { text-align: right; flex-shrink: 0; }
.mock-claim-amt { font-size: 9px; font-weight: 700; color: #1A1A18; }
.mock-badge { font-size: 6.5px; padding: 1px 4px; border-radius: 3px; font-weight: 700; display: inline-block; margin-top: 1px; }
.mock-badge.pending { background: #FEF3C7; color: #D97706; }
.mock-badge.approved { background: #E1F5EE; color: #1B9E75; }
.mock-badge.paid { background: #DCFCE7; color: #15803D; }

/* Claim submission screen */
.mock-receipt-thumb {
  margin: 6px 10px; border-radius: 8px; overflow: hidden;
  background: #fefefe; border: 1px solid #E4E4DE;
  height: 52px; position: relative; flex-shrink: 0;
}
.mock-receipt-lines {
  position: absolute; inset: 0; padding: 6px 8px;
  display: flex; flex-direction: column; gap: 2.5px;
}
.mock-receipt-line { height: 2px; background: #E4E4DE; border-radius: 1px; }
.mock-receipt-line.short { width: 60%; }
.mock-receipt-line.medium { width: 80%; }
.mock-receipt-line.price { width: 40%; margin-left: auto; background: #9B9B94; }
.mock-receipt-line.thick { height: 3px; background: #1A1A18; border-radius: 1px; margin-top: 2px; }
.mock-receipt-overlay {
  position: absolute; bottom: 4px; right: 6px;
  background: #1B9E75; color: white; font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.mock-form-fields { padding: 0 10px; flex-shrink: 0; }
.mock-field-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; border-bottom: 1px solid #F4F4F1;
}
.mock-field-row:last-child { border-bottom: none; }
.mock-field-label { font-size: 8px; color: #9B9B94; font-weight: 500; }
.mock-field-value { font-size: 8.5px; font-weight: 600; color: #1A1A18; }
.mock-field-value.teal { color: #1B9E75; }
.mock-submit-bar {
  margin: 8px 10px 0; background: #1B9E75; border-radius: 8px;
  padding: 7px; text-align: center; color: white;
  font-size: 9px; font-weight: 700; flex-shrink: 0;
}

/* Approval screen */
.mock-approval-receipt {
  margin: 6px 10px; border-radius: 8px; overflow: hidden;
  border: 1px solid #E4E4DE; flex-shrink: 0;
  background: linear-gradient(135deg, #E1F5EE 0%, #fafaf8 100%);
  padding: 8px 10px;
}
.mock-approval-store { font-size: 10px; font-weight: 700; color: #1A1A18; }
.mock-approval-amount { font-size: 20px; font-weight: 700; color: #1B9E75; font-family: 'Fraunces', Georgia, serif; margin: 2px 0; }
.mock-approval-meta { font-size: 8px; color: #9B9B94; }
.mock-approval-note { margin-top: 6px; font-size: 8px; color: #6B6B65; font-style: italic; background: white; border-radius: 4px; padding: 4px 6px; }
.mock-action-row { display: flex; gap: 6px; padding: 8px 10px; flex-shrink: 0; }
.mock-btn-decline { flex: 1; border: 1px solid #E24B4A; color: #E24B4A; font-size: 8.5px; font-weight: 700; padding: 6px; border-radius: 6px; text-align: center; }
.mock-btn-approve { flex: 2; background: #1B9E75; color: white; font-size: 8.5px; font-weight: 700; padding: 6px; border-radius: 6px; text-align: center; }

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--rk-primary); color: white;
  padding: 16px 0; overflow: hidden;
}
.stats-inner {
  display: flex; justify-content: center; gap: 48px;
  flex-wrap: wrap; padding: 0 1.5rem;
}
.stat-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.stat-item svg { flex-shrink: 0; opacity: 0.9; }

/* ---- PAIN CARDS — enhanced ---- */
.pain-card-v2 {
  background: var(--rk-surface-white); border: 1px solid var(--rk-border);
  border-radius: var(--rk-radius); padding: 28px 28px 28px 24px;
  box-shadow: var(--rk-shadow); border-left: 4px solid var(--rk-amber);
  text-align: left; position: relative; overflow: hidden;
}
.pain-card-v2::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px; border-radius: 0 var(--rk-radius) 0 100%;
  background: rgba(239, 159, 39, 0.06);
}
.pain-card-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.pain-card-v2 h3 { margin-bottom: 10px; font-size: 20px; }
.pain-card-v2 p { color: var(--rk-text-secondary); font-size: 16px; line-height: 1.65; }

/* ---- STEP ILLUSTRATIONS — enhanced ---- */
.step-v2 { text-align: center; position: relative; }
.step-v2-visual {
  width: 120px; height: 120px; margin: 0 auto 20px;
  position: relative;
}
.step-number-bg {
  font-family: 'Fraunces', Georgia, serif; font-size: 88px; font-weight: 700;
  color: var(--rk-primary); opacity: 0.08; line-height: 1;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); user-select: none;
}
.step-icon-v2 {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; position: relative; z-index: 1;
}
.step-icon-v2.green { background: var(--rk-primary-light); color: var(--rk-primary); }
.step-icon-v2.amber { background: #FEF3C7; color: #D97706; }
.step-icon-v2.celebration { background: #DCFCE7; color: #15803D; }
.step-icon-v2 svg { width: 36px; height: 36px; }
.step-v2 h3 { font-size: 22px; margin-bottom: 10px; }
.step-v2 p { color: var(--rk-text-secondary); font-size: 16px; line-height: 1.65; max-width: 300px; margin: 0 auto; }

/* Confetti dots for celebration step */
.confetti-dots { position: absolute; inset: 0; pointer-events: none; }
.confetti-dot {
  position: absolute; border-radius: 50%;
  animation: confetti-float 3s ease-in-out infinite;
}
@keyframes confetti-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-8px) rotate(180deg); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes confetti-float { 0%, 100% { transform: none; } }
}

/* ---- RECEIPT ILLUSTRATION (feature section) ---- */
.receipt-illustration {
  background: white; border-radius: 3px; padding: 16px 14px;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
  font-family: 'Courier New', 'Courier', monospace;
  max-width: 200px; position: relative;
}
.receipt-illustration::before {
  content: '';
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 90%; height: 6px;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 4px, #ddd 4px, #ddd 6px);
}
.receipt-store { font-size: 10px; font-weight: bold; text-align: center; letter-spacing: 0.1em; margin-bottom: 6px; color: #1A1A18; }
.receipt-divider { border: none; border-top: 1px dashed #999; margin: 6px 0; }
.receipt-item { display: flex; justify-content: space-between; font-size: 9px; color: #444; margin: 2px 0; }
.receipt-total { display: flex; justify-content: space-between; font-size: 11px; font-weight: bold; margin-top: 6px; color: #1A1A18; padding-top: 4px; border-top: 1px solid #999; }
.receipt-rk { font-size: 8px; text-align: center; margin-top: 8px; color: #1B9E75; font-weight: bold; letter-spacing: 0.1em; }

/* ---- FEATURE MOCK SCREENS ---- */
.feature-phone-mock {
  background: var(--rk-text);
  border-radius: 32px; padding: 10px;
  box-shadow: var(--rk-shadow-lg);
  max-width: 260px; margin: 0 auto;
}
.feature-phone-screen {
  border-radius: 23px; overflow: hidden;
  background: #FAFAF8; min-height: 380px;
  display: flex; flex-direction: column;
}

/* ---- QUOTE CARD — enhanced ---- */
.review-card-v2 {
  flex: 0 0 380px; scroll-snap-align: start;
  background: var(--rk-surface-white); border-radius: var(--rk-radius-sm);
  padding: 28px; box-shadow: var(--rk-shadow); position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card-v2::before {
  content: '"'; font-family: 'Fraunces', Georgia, serif;
  font-size: 72px; line-height: 0.8; color: var(--rk-primary);
  opacity: 0.2; position: absolute; top: 16px; left: 20px;
  font-weight: 700;
}
.review-card-v2 blockquote {
  font-size: 16px; line-height: 1.65; color: var(--rk-text);
  padding-top: 28px; font-style: normal;
}
.review-stars { color: var(--rk-amber); font-size: 14px; letter-spacing: 1px; }
.review-card-v2 cite {
  font-size: 13px; color: var(--rk-text-tertiary); font-style: normal; font-weight: 600;
  display: flex; align-items: center; gap: 8px; margin-top: auto;
}
.reviewer-avatar {
  width: 32px; height: 32px; border-radius: 50%; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---- PAID CELEBRATION SECTION ---- */
.celebration-img {
  border-radius: var(--rk-radius); overflow: hidden;
  box-shadow: var(--rk-shadow-lg);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}

/* ---- SECTION WAVE DIVIDER ---- */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { text-align: center; }
  .hero-mockup { margin-top: 48px; }
  .phone-frame { transform: none; width: 240px; }
  .phone-frame-secondary { display: none; }

  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reversed { direction: ltr; }

  .expanded-step { grid-template-columns: 1fr; gap: 32px; }
  .expanded-step.reversed { direction: ltr; }

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

@media (max-width: 640px) {
  .pain-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 320px; }
  .review-card-v2 { flex: 0 0 320px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .stats-inner { gap: 24px; }
  .stat-item { font-size: 14px; }
  .feature-phone-mock { max-width: 220px; }
  .pain-card-v2 { text-align: left; }
}
