/* Global */
:root {
  --primary-green: #11B978;
  --deep-green: #058052;
  --brand-blue: #1178E8;
  --navy: #071B33;
  --light-bg: #F7FBFA;
  --soft-green: #EAFBF4;
  --border: #E5EEF0;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #1178E8, #11B978);
  --shadow-sm: 0 10px 30px rgba(7, 27, 51, .06);
  --shadow-md: 0 22px 48px rgba(7, 27, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { min-width: 320px; overflow-x: hidden; color: var(--navy); background: var(--white); font-family: "Inter", sans-serif; font-size: 1rem; line-height: 1.65; }
h1, h2, h3, .navbar-brand, .btn { font-family: "Space Grotesk", sans-serif; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-weight: 700; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 5.25vw, 4.85rem); line-height: 1.02; }
h2 { font-size: clamp(2.05rem, 3.4vw, 3.3rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { color: #617086; }
a { color: inherit; text-decoration: none; }
.section { padding: 7rem 0; }
.section-soft { background: var(--light-bg); }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; color: var(--deep-green); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 1.65rem; height: 2px; background: var(--primary-green); }
.section-intro { max-width: 48rem; margin-bottom: 3.4rem; }

/* Navbar */
.navbar { padding: 1rem 0; background: rgba(255, 255, 255, .86); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: padding .25s ease, box-shadow .25s ease, border-color .25s ease; }
.navbar.is-scrolled { padding: .72rem 0; border-color: var(--border); box-shadow: 0 8px 25px rgba(7, 27, 51, .06); }
.navbar-brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-size: 1.04rem; font-weight: 700; letter-spacing: -.04em; }
.brand-logo { width: 156px; height: 48px; object-fit: contain; }
.navbar-brand > span { display: none; }
.nav-link { position: relative; padding: .55rem .7rem !important; color: #56657a; font-size: .89rem; font-weight: 600; }
.nav-link::after { position: absolute; right: .7rem; bottom: .25rem; left: .7rem; height: 2px; background: var(--primary-green); content: ""; opacity: 0; transform: scaleX(.5); transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--deep-green); }
.nav-link:hover::after, .nav-link.active::after { opacity: 1; transform: scaleX(1); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(17, 185, 120, .13); }
.btn { border-radius: 99px; font-size: .92rem; font-weight: 700; padding: .75rem 1.2rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { border: 1px solid transparent; color: var(--white); background: var(--gradient); box-shadow: 0 12px 22px rgba(17, 120, 232, .17); }
.btn-brand:hover, .btn-brand:focus { color: var(--white); box-shadow: 0 16px 28px rgba(17, 120, 232, .25); }
.btn-outline-brand { border: 1px solid #c7dfd7; color: var(--deep-green); background: var(--white); box-shadow: 0 6px 14px rgba(7, 27, 51, .03); }
.btn-outline-brand:hover { border-color: var(--primary-green); color: var(--deep-green); background: var(--soft-green); }

/* Hero */
.hero-section { position: relative; padding: 11.5rem 0 7.4rem; overflow: hidden; background: radial-gradient(circle at 88% 33%, rgba(17, 185, 120, .15), transparent 21rem), radial-gradient(circle at 11% 8%, rgba(17, 120, 232, .09), transparent 19rem), linear-gradient(180deg, #fbfefd 0%, var(--light-bg) 70%, var(--white) 100%); }
.hero-section::before, .hero-section::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.hero-section::before { top: 6.8rem; right: -10rem; width: 24rem; height: 24rem; border: 1px solid rgba(17, 185, 120, .12); }
.hero-section::after { bottom: -12rem; left: -11rem; width: 25rem; height: 25rem; background: radial-gradient(circle, rgba(17, 120, 232, .06), transparent 68%); }
.hero-section .container { position: relative; z-index: 1; }
.hero-copy { max-width: 35rem; margin-top: 1.45rem; font-size: 1.08rem; line-height: 1.7; }
.hero-visual { position: relative; max-width: 430px; margin: auto; padding: .85rem; }
.visual-glow { position: absolute; inset: 8% -10%; z-index: -1; border-radius: 42% 58% 55% 45%; background: var(--gradient); opacity: .16; filter: blur(23px); transform: rotate(-10deg); }
.screen-image { position: relative; display: block; width: 100%; height: auto; border-radius: 1.35rem; box-shadow: var(--shadow-md); }
.hero-preview { border: 7px solid var(--white); }
.floating-label { position: absolute; z-index: 2; top: 12%; left: -11%; padding: .58rem .8rem; color: var(--deep-green); background: var(--white); border: 1px solid var(--border); border-radius: 99px; box-shadow: var(--shadow-sm); font-size: .74rem; font-weight: 700; }
.floating-label i { color: var(--primary-green); }
.hero-benefits { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.7rem; }
.hero-benefits span { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .62rem; color: #416074; background: rgba(255, 255, 255, .78); border: 1px solid var(--border); border-radius: 99px; box-shadow: 0 6px 16px rgba(7, 27, 51, .035); font-size: .76rem; font-weight: 600; }
.hero-benefits i { color: var(--primary-green); }

/* Problem */
.problem-card { height: 100%; padding: 1.85rem; background: var(--white); border: 1px solid var(--border); border-radius: 1.2rem; box-shadow: 0 1px 0 rgba(7, 27, 51, .015); transition: transform .24s ease, box-shadow .24s ease; }
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.problem-card > span { display: block; margin-bottom: 1.45rem; color: #a8b5c2; font-family: "Space Grotesk", sans-serif; font-size: .78rem; font-weight: 700; }
.problem-card > i, .feature-card > b { display: grid; width: 2.85rem; height: 2.85rem; margin-bottom: 1.35rem; place-items: center; border-radius: .85rem; font-size: 1.22rem; }
.problem-card > i { color: var(--brand-blue); background: #edf5ff; }
.problem-card h3, .feature-card h3 { margin-bottom: .68rem; }
.problem-card p, .feature-card p { margin-bottom: 0; font-size: .93rem; }

/* Solution */
.solution-copy { margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.75; }
.highlight-line { display: inline-block; margin: 0; padding: .5rem .9rem; color: var(--deep-green); background: var(--soft-green); border-radius: 99px; font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 700; }

/* Features */
.feature-card { height: 100%; padding: 1.7rem; background: var(--white); border: 1px solid var(--border); border-radius: 1.2rem; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.feature-card:hover { border-color: rgba(17, 185, 120, .28); transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.feature-card > b { color: var(--white); background: var(--gradient); box-shadow: 0 10px 18px rgba(17, 120, 232, .16); }
.feature-card > b.green { color: var(--deep-green); background: var(--soft-green); box-shadow: none; }
.feature-card > b.amber { color: #cc8500; background: #fff5df; box-shadow: none; }
.feature-card > b.purple { color: #7540d7; background: #f1ecff; box-shadow: none; }

.feature-details { padding-top: 7.5rem; }
.feature-row { position: relative; margin-bottom: 8.25rem; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row:nth-child(even)::before { position: absolute; inset: -2.4rem 0; z-index: -1; border-radius: 2rem; background: var(--light-bg); content: ""; }
.feature-row p:not(.eyebrow) { max-width: 34rem; margin-top: 1rem; }
.feature-row p:not(.eyebrow)::before { color: var(--primary-green); content: "✓ "; font-weight: 800; }
.device-frame { max-width: 355px; min-height: 260px; padding: .75rem; margin: auto; background: linear-gradient(145deg, #f0f8f6, #fff); border: 1px solid var(--border); border-radius: 1.85rem; box-shadow: 0 14px 35px rgba(7, 27, 51, .045); }
.blue-frame { background: linear-gradient(145deg, #edf5ff, #fff); }
.green-frame { background: linear-gradient(145deg, var(--soft-green), #fff); }
.amber-frame { background: linear-gradient(145deg, #fff5df, #fff); }
.media-fallback { display: grid; width: 100%; min-height: 245px; place-content: center; gap: .75rem; color: var(--navy); text-align: center; background: linear-gradient(145deg, #fbfffd, #edf8f4); border-radius: 1.2rem; box-shadow: 0 14px 30px rgba(7, 27, 51, .08); }
.media-fallback i { color: var(--primary-green); font-size: 2.2rem; }
.media-fallback span { font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 700; }
.hero-visual > .media-fallback { position: relative; min-height: 410px; border: 7px solid var(--white); }
.ad-preview { display: grid; min-height: 245px; align-content: center; gap: .8rem; padding: 1.6rem; background: var(--white); border-radius: 1.2rem; box-shadow: 0 14px 30px rgba(7, 27, 51, .08); }
.ad-preview > i { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; color: #cc8500; background: #fff5df; border-radius: .75rem; font-size: 1.25rem; }
.ad-preview small { color: #718096; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ad-preview strong { max-width: 15rem; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; line-height: 1.2; }
.ad-preview em { display: inline-block; margin: .14rem; padding: .3rem .52rem; color: #a35e00; background: #fff5df; border-radius: 99px; font-size: .68rem; font-style: normal; font-weight: 700; }

/* How It Works */
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.light { color: #70e6bd; }
.step-card { height: 100%; padding: 1.75rem; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.15rem; transition: transform .24s ease, background .24s ease; }
.step-card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-5px); }
.step-card span { color: #70e6bd; font-family: "Space Grotesk", sans-serif; font-size: .84rem; font-weight: 700; }
.step-card h3 { margin: 1.6rem 0 .68rem; }
.step-card p { margin: 0; color: #bdcbd9; font-size: .9rem; }

/* Demo */
.demo-scroll { display: flex; gap: 1.35rem; padding: .5rem 0 1.2rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #c4ddd5 transparent; scrollbar-width: thin; }
.demo-card { flex: 0 0 220px; margin: 0; scroll-snap-align: start; transition: transform .24s ease; }
.demo-card.featured { flex-basis: 250px; }
.demo-card:hover { transform: translateY(-7px); }
.demo-card img, .demo-card .media-fallback { width: 100%; min-height: 305px; object-fit: cover; border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: 0 15px 35px rgba(7, 27, 51, .11); }
.demo-card figcaption { margin-top: .8rem; color: #526378; font-size: .85rem; font-weight: 700; }

/* Target Businesses */
.business-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.business-list span { padding: .68rem 1rem; color: #40516a; background: var(--white); border: 1px solid var(--border); border-radius: 99px; box-shadow: 0 3px 10px rgba(7, 27, 51, .025); font-size: .9rem; font-weight: 600; transition: transform .2s ease, border-color .2s ease; }
.business-list span::before { margin-right: .42rem; color: var(--primary-green); content: "✦"; }
.business-list span:hover { border-color: rgba(17, 185, 120, .34); transform: translateY(-3px); }

/* Contact */
.contact-section { background: var(--white); }
.contact-panel { padding: clamp(2rem, 5vw, 4.5rem); overflow: hidden; background: radial-gradient(circle at 95% 7%, rgba(17, 185, 120, .3), transparent 28%), radial-gradient(circle at 4% 95%, rgba(17, 120, 232, .15), transparent 30%), var(--navy); border-radius: 1.65rem; box-shadow: var(--shadow-sm); }
.contact-panel h2 { color: var(--white); }
.contact-panel > div > div > p:not(.eyebrow) { color: #c1cedb; }
.contact-details { display: grid; gap: .75rem; margin-top: 1.9rem; }
.contact-details span, .contact-details a { display: flex; align-items: center; gap: .65rem; max-width: 22rem; padding: .65rem .75rem; color: #dce8f1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .11); border-radius: .7rem; font-size: .88rem; }
.contact-details i { color: #70e6bd; }
.contact-details a:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.contact-details-cards { margin-top: 0; }
.btn-whatsapp { margin-top: .9rem; color: var(--white); background: #20b85a; box-shadow: 0 13px 24px rgba(32, 184, 90, .25); }
.btn-whatsapp:hover, .btn-whatsapp:focus { color: var(--white); background: #159847; box-shadow: 0 17px 28px rgba(32, 184, 90, .32); }
.btn-whatsapp .bi-whatsapp { margin-right: .25rem; font-size: 1.15em; }

/* Footer */
.footer { padding: 2.5rem 0; background: var(--light-bg); border-top: 1px solid var(--border); }
.footer-brand { color: var(--navy); font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; font-weight: 700; }
.footer p { margin: .3rem 0 0; font-size: .83rem; }
.footer a:not(.footer-brand) { display: inline-block; margin-left: 1rem; color: #40516a; font-size: .87rem; font-weight: 600; }
.footer a:hover { color: var(--deep-green); }

/* Back to top */
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 10; display: grid; width: 2.9rem; height: 2.9rem; place-items: center; padding: 0; color: var(--white); background: var(--navy); border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; box-shadow: 0 12px 24px rgba(7, 27, 51, .2); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--deep-green); }

/* Section reveal */
@media (prefers-reduced-motion: no-preference) {
  .section.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .section.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar { padding: .76rem 0; }
  .navbar-collapse { padding: .8rem 0 .25rem; }
  .navbar .btn { margin-top: .65rem; }
  .hero-section { padding-top: 8.8rem; }
  .floating-label { left: -2%; }
  .feature-row { margin-bottom: 5.5rem; }
  .feature-row:nth-child(even)::before { inset: -1.5rem -.75rem; }
}

@media (max-width: 575.98px) {
  .section { padding: 4.5rem 0; }
  .hero-section { padding: 7.75rem 0 4.8rem; }
  .brand-logo { width: 132px; height: 42px; }
  .hero-copy { font-size: 1rem; }
  .hero-visual { max-width: 335px; margin-top: .2rem; }
  .floating-label { top: 7%; left: -2%; font-size: .64rem; }
  .hero-benefits { gap: .4rem; margin-top: 1.35rem; }
  .hero-benefits span { padding: .34rem .54rem; font-size: .7rem; }
  .problem-card, .feature-card { padding: 1.45rem; }
  .section-intro { margin-bottom: 2.4rem; }
  .feature-details { padding-top: 4.8rem; }
  .feature-row { margin-bottom: 4.5rem; }
  .feature-row:nth-child(even)::before { display: none; }
  .device-frame { max-width: 320px; min-height: 230px; }
  .demo-card { flex-basis: 195px; }
  .demo-card.featured { flex-basis: 218px; }
  .demo-card img, .demo-card .media-fallback { min-height: 275px; }
  .contact-panel { padding: 1.55rem; border-radius: 1.25rem; }
  .btn-whatsapp { width: 100%; }
  .contact-form { padding: 1.2rem; }
  .footer .text-md-end { text-align: left !important; }
  .footer a:not(.footer-brand) { display: block; margin: .4rem 0 0; }
}
