.section { padding: 84px 0; }
.section-cloud { background-color: var(--bg-cloud); }
.section-white { background-color: #ffffff; }

.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading.align-start { margin-inline: 0; text-align: start; }
.section-kicker { display: inline-block; margin-bottom: 12px; color: var(--royal); font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.section-heading h2 { margin: 0 0 16px; color: var(--heading); font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 800; }
.section-heading p { margin: 0; color: var(--text); font-size: 16.5px; line-height: 1.85; }

/* STATS STRIP */
.stats-strip { padding: 32px 0; border-block: 1px solid var(--border); background: var(--bg-cloud); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; }
.stats-grid .proof-item { text-align: center; display: grid; gap: 4px; }
.stats-grid .proof-item strong { color: var(--heading); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; }
.stats-grid .proof-item span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.brand-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .03em; text-align: center; }

/* FEATURE BENTO / ROWS (Matches demo-2.html Solutions & Features) */
.feature-bento { display: grid; gap: 20px; }
.feature-row {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center;
  padding: 28px; border: 2px solid var(--border); border-radius: var(--radius-lg);
  background: #ffffff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.feature-row-reverse .feature-visual { order: 2; }
.feature-row-reverse .feature-copy { order: 1; }
.feature-visual {
  display: flex; min-height: 180px; align-items: center; justify-content: center;
  padding: 20px; border-radius: var(--radius); background: var(--bg-cloud);
}
.feature-copy { min-width: 0; }
.feature-copy h3 { margin: 0 0 12px; color: var(--heading); font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 700; }
.feature-copy p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.8; }

.feature-grid, .pricing-grid, .testimonial-grid { display: grid; gap: 20px; }
.feature-card {
  min-width: 0; padding: 22px;
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  background: #ffffff; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.feature-icon-wrap {
  display: flex; height: 140px; align-items: center; justify-content: center;
  margin-bottom: 20px; border-radius: var(--radius-sm); background: var(--bg-cloud);
}
.feature-icon { display: block; max-height: 90px; width: auto; object-fit: contain; }
.feature-card h3 { margin: 0 0 10px; color: var(--heading); font-size: 19px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.75; }

/* TOUR SECTION */
.tour-tabs + .tour-panels { margin-top: 24px; }
.tour-panel {
  display: grid; gap: 32px; align-items: center; padding: 36px;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: #ffffff; box-shadow: var(--shadow);
}
.tour-panel h3 { margin: 0 0 18px; color: var(--heading); font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 700; }
.check-list { display: grid; gap: 14px; margin: 0; padding: 0; color: var(--text); font-size: 15px; list-style: none; }
.check-list li { position: relative; padding-inline-start: 28px; line-height: 1.65; }
.check-list li::before { position: absolute; inset-inline-start: 0; content: '✓'; color: var(--live); font-weight: 900; font-size: 16px; }
.tour-visual {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-cloud); text-align: center;
}

/* OWNER APP SECTION */
.owner-grid { display: grid; gap: 48px; align-items: center; }
.owner-phone-wrap { display: flex; justify-content: center; }
.phone-large {
  position: relative; width: min(100%, 250px); height: 470px;
  padding: 10px; border: 6px solid var(--heading); border-radius: 34px;
  background: #ffffff; box-shadow: var(--shadow-lg);
}
.phone-notch {
  position: absolute; inset-block-start: 9px; inset-inline-start: 50%;
  width: 72px; height: 16px; border-radius: 0 0 12px 12px;
  background: var(--heading); transform: translateX(-50%);
}
.phone-screen {
  display: flex; height: 100%; flex-direction: column;
  padding: 22px 14px 14px; border-radius: 24px;
  background: #f8fafc; border: 1px solid var(--border);
}
.phone-top, .owner-metric { display: flex; justify-content: space-between; gap: 12px; }
.phone-top { color: var(--muted); font-size: 9px; font-weight: 700; }
.app-greeting { display: grid; gap: 4px; margin-top: 24px; }
.app-greeting small { color: var(--purple); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.app-greeting strong { color: var(--heading); font-size: 15px; font-weight: 800; }
.owner-metric {
  margin-top: 12px; padding: 14px 12px;
  border-radius: 12px; background: #ffffff; border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 6px rgba(0,0,0,.03);
  color: var(--muted); font-size: 10px; font-weight: 600;
}
.owner-metric strong { color: var(--heading); font-size: 13.5px; font-weight: 800; text-align: end; }
.owner-metric small { color: var(--muted); font-size: 8px; }

/* PRICING (Matches demo-2.html Pricing) */
.billing-toggle {
  display: flex; width: max-content; max-width: 100%;
  margin: -6px auto 32px; padding: 5px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #ffffff; box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  padding: 10px 22px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text);
  font-weight: 700; font-size: 14px; transition: all .2s;
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--purple); color: #fff;
  box-shadow: 0 4px 12px rgba(112, 99, 219, .3);
}
.save-badge {
  display: inline-block; margin-inline-start: 6px;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(16, 185, 129, .15); color: #059669;
  font-size: 11px; font-weight: 800;
}
.pricing-grid { align-items: stretch; }
.pricing-card {
  position: relative; display: flex; min-width: 0; flex-direction: column;
  padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: #ffffff; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.popular {
  border: 2px solid var(--royal);
  box-shadow: 0 16px 40px rgba(92, 76, 228, .12);
}
.popular-badge {
  position: absolute; inset-block-start: 18px; inset-inline-end: 18px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--royal); color: #fff;
  font-size: 11px; font-weight: 800;
}
.pricing-card h3 { margin: 0 0 10px; color: var(--heading); font-size: 22px; font-weight: 700; }
.pricing-card p { min-height: 44px; margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.price { margin: 18px 0; color: var(--heading); font-size: 38px; font-weight: 900; }
.price small { color: var(--muted); font-size: 13px; font-weight: 600; }
.plan-list {
  display: grid; flex: 1; gap: 12px; margin: 16px 0 28px; padding: 0;
  color: var(--text); font-size: 14px; line-height: 1.6; list-style: none;
}
.plan-list li::before { margin-inline-end: 10px; content: '✓'; color: var(--live); font-weight: 900; }
.pricing-card .button { width: 100%; }

/* ROI CALCULATOR */
.roi-card {
  display: grid; gap: 28px; align-items: center;
  margin-top: 28px; padding: 32px;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: #ffffff; box-shadow: var(--shadow);
}
.roi-card h3 { margin: 0 0 10px; color: var(--heading); font-size: 24px; font-weight: 800; }
.roi-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.roi-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; }
.roi-form label { color: var(--heading); font-size: 13px; font-weight: 700; }
.roi-form input[type='range'] { width: 100%; accent-color: var(--purple); cursor: pointer; }
.roi-form input[type='number'] {
  grid-column: 1 / -1; width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-cloud); color: var(--heading); font-weight: 600;
}
.roi-form output { color: var(--royal); font-size: 13px; font-weight: 800; }
.roi-result { display: grid; gap: 14px; }
.roi-result div {
  padding: 18px; border-radius: var(--radius);
  background: var(--bg-cloud); border: 1px solid var(--border-subtle);
}
.roi-result span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.roi-result strong { display: block; margin-top: 6px; color: var(--heading); font-size: 22px; font-weight: 800; }

/* TESTIMONIALS */
.testimonial {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: #ffffff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial p { min-height: 80px; margin: 0 0 20px; color: var(--text); font-size: 15px; line-height: 1.8; }
.testimonial-meta { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.testimonial-avatar {
  display: grid; width: 44px; height: 44px; place-items: center;
  border-radius: 50%; background: var(--grad); color: #fff;
  font-size: 13px; font-weight: 800;
}
.testimonial strong { color: var(--heading); font-size: 15px; font-weight: 700; display: block; }
.testimonial span { margin-top: 3px; color: var(--muted); font-size: 12px; display: block; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #ffffff; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item h3 { margin: 0; }
.faq-item button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border: 0; background: transparent;
  color: var(--heading); text-align: start; font-size: 16.5px; font-weight: 700;
  transition: color .2s;
}
.faq-item button:hover { color: var(--royal); }
.faq-item button span:last-child { color: var(--purple); font-size: 22px; font-weight: 700; }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.85; }

/* CTA BANNER (Matches demo-2.html banner) */
.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--royal), var(--purple));
  box-shadow: 0 20px 50px rgba(92, 76, 228, .28);
  color: #ffffff;
}
.cta-banner h2 { margin: 0 0 12px; color: #ffffff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.7; }
.cta-banner .button {
  background: #ffffff; color: var(--royal); box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}
.cta-banner .button:hover {
  background: var(--bg-cloud); color: var(--heading); transform: translateY(-2px);
}
.cta-banner .button-ghost {
  border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .15);
  color: #ffffff;
}
.cta-banner .button-ghost:hover {
  background: rgba(255, 255, 255, .28); color: #ffffff;
}

/* FOOTER (Clean light footer matching demo-2.html) */
.site-footer { padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-grid > div { display: grid; align-content: start; gap: 12px; }
.footer-grid h3 { margin: 0 0 8px; color: var(--heading); font-size: 16px; font-weight: 700; }
.footer-grid a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--royal); }
.footer-brand { gap: 14px !important; }
.footer-brand p { max-width: 240px; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  color: var(--muted); font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 18px; }

@media (max-width: 639px) {
  .section { padding: 60px 0; }
  .section-heading { margin-bottom: 30px; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; padding-inline: 10px; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: 1fr; padding: 22px; }
  .feature-row-reverse .feature-visual, .feature-row-reverse .feature-copy { order: initial; }
  .cta-banner { display: block; padding: 32px 24px; }
  .cta-banner .hero-actions { margin-top: 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* MOTION SYSTEM (no vendor animation dependencies) */
:root { --dir: 1; }
html[dir='rtl'] { --dir: -1; }
[dir='rtl'] { --dir: -1; }

@keyframes revealUp {
  from { opacity: 0; translate: 0 30%; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes revealStart {
  from { opacity: 0; translate: calc(-20% * var(--dir)) 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes revealEnd {
  from { opacity: 0; translate: calc(20% * var(--dir)) 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes floatSlow {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes marquee {
  to { transform: translateX(calc(-50% * var(--dir))); }
}

html.motion-ready [data-reveal] { opacity: 0; }
html.motion-ready [data-reveal].is-revealed {
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}
html.motion-ready [data-reveal='up'].is-revealed { animation-name: revealUp; }
html.motion-ready [data-reveal='start'].is-revealed { animation-name: revealStart; }
html.motion-ready [data-reveal='end'].is-revealed { animation-name: revealEnd; }
html.motion-ready [data-reveal-delay='1'].is-revealed { animation-delay: calc(1 * .3s); }
html.motion-ready [data-reveal-delay='2'].is-revealed { animation-delay: calc(2 * .3s); }
html.motion-ready [data-reveal-delay='3'].is-revealed { animation-delay: calc(3 * .3s); }
html.motion-ready [data-reveal-delay='4'].is-revealed { animation-delay: calc(4 * .3s); }
html.motion-ready [data-reveal-delay='5'].is-revealed { animation-delay: calc(5 * .3s); }

.owner-app-preview { animation: floatSlow 5s ease-in-out infinite; }
.button { overflow: hidden; }
.btn-text { position: relative; display: inline-block; transition: transform .4s ease-in-out; }
.btn-text .anim-txt { display: block; }
.btn-text .anim-txt:last-of-type { position: absolute; inset: 0; transform: translateY(300%); }
.button:hover .btn-text, .button:focus-visible .btn-text { transform: translateY(-300%); }

.feature-card, .pricing-card, .testimonial {
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover, .pricing-card:hover, .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(112, 99, 219, .12);
}

.stats-strip .brand-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.brand-marquee-track { display: flex; width: 100%; }
.brand-marquee-track.is-marquee { width: 200%; animation: marquee 30s linear infinite; }
.brand-marquee-track .brand-list { flex: 0 0 100%; }
.brand-marquee-track.is-marquee .brand-list { flex-basis: 50%; }
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }

[data-stat] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-reveal] { opacity: 1; }
  html.motion-ready [data-reveal].is-revealed { animation: none; }
  .owner-app-preview { animation: none; }
  .brand-marquee-track.is-marquee { animation: none; }
  .button, .btn-text, .feature-card, .pricing-card, .testimonial { transition: none; }
  .button:hover .btn-text, .button:focus-visible .btn-text { transform: none; }
  .button:hover, .button:focus-visible { transform: none; }
  .feature-card:hover, .pricing-card:hover, .testimonial:hover { transform: none; }
  .btn-text .anim-txt:last-of-type { position: static; transform: none; }
  .btn-text .anim-txt:last-of-type { display: none; }
}

.cta-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin: 18px 0 0; padding: 0;
  list-style: none; color: var(--muted); font-size: 12.5px;
}
.trust-strip li { display: inline-flex; align-items: center; gap: 7px; }
.trust-icon { color: #8b5cf6; font-size: 15px; font-weight: 900; line-height: 1; }
.trust-strip li:nth-child(2) .trust-icon { color: #10b981; }
.pricing-trust { margin: 18px 0 8px; justify-content: center; }

@media (max-width: 639px) {
  .trust-strip { align-items: flex-start; flex-direction: column; gap: 9px; }
  .pricing-trust { align-items: flex-start; justify-content: flex-start; }
}
