@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  color: #10233f;
  background: #f7f9fc;
  font-family: Inter, sans-serif;
  font-synthesis: none;
  --navy: #10233f;
  --blue: #315f91;
  --mint: #32d296;
  --mint-dark: #16865d;
  --cyan: #42c7e8;
  --ink-soft: #5f6f83;
  --line: #dce4ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 99; padding: .7rem 1rem; transform: translateY(-160%); border-radius: 8px; background: white; color: var(--navy); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; }
.brand img { display: block; width: 184px; height: auto; }
nav { display: flex; align-items: center; gap: 1.7rem; }
nav a { color: #526174; font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--navy); }
.nav-cta { padding: .65rem 1rem; border: 1px solid #cbd6e1; border-radius: 10px; background: rgb(255 255 255 / .68); }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 6vw, 7rem); align-items: center; padding-block: 5.5rem 8rem; }
.hero-content { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1rem; color: var(--mint-dark); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: .55rem; }
.hero .eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgb(50 210 150 / .12); }
h1, h2, h3 { font-family: Manrope, sans-serif; font-weight: 700; }
h1 { margin: 0; font-size: clamp(3.7rem, 7vw, 6.65rem); line-height: .94; letter-spacing: -.07em; }
h1 > span { color: #527eaa; }
.hero-copy { max-width: 630px; margin: 2rem 0; color: #526174; font-size: 1.15rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .92rem 1.25rem; border: 1px solid transparent; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--navy); color: white; box-shadow: 0 12px 25px rgb(16 35 63 / .18); }
.primary:hover { background: #19365e; box-shadow: 0 15px 30px rgb(16 35 63 / .24); }
.secondary { border-color: #cad5e0; background: white; color: var(--navy); }
.fine { display: flex; align-items: center; gap: .4rem; margin-top: 1.1rem; color: #7b8999; font-size: .8rem; }
.fine span { color: var(--mint-dark); font-weight: 800; }

.hero-visual { position: relative; min-height: 540px; perspective: 1200px; isolation: isolate; }
.visual-glow { position: absolute; inset: 8% -12% 2% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgb(66 199 232 / .2), rgb(50 210 150 / .09) 42%, transparent 69%); filter: blur(14px); animation: glow-breathe 5s ease-in-out infinite; }
.scanner-shell { position: absolute; inset: 0 2.5rem 5.2rem 0; overflow: hidden; border: 1px solid rgb(255 255 255 / .12); border-radius: 32px; background: #0b1a2f; box-shadow: 0 35px 80px rgb(16 35 63 / .25); transform: rotateY(-3deg) rotateX(1deg); animation: scanner-float 6s ease-in-out infinite; }
.scanner-topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.1rem; background: #10233f; color: #dce8f3; font-size: .72rem; font-weight: 700; }
.scanner-brand { display: flex; align-items: center; gap: .5rem; letter-spacing: -.01em; }
.scanner-brand img { border-radius: 6px; }
.live-indicator { display: flex; align-items: center; gap: .45rem; color: #9ab0c6; letter-spacing: .08em; text-transform: uppercase; }
.live-indicator i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgb(50 210 150 / .5); animation: live-pulse 2s ease-out infinite; }
.camera-view { position: absolute; inset: 58px 0 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, #243e5f, #0b1729 72%); }
.camera-view::before { content: ''; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 28px 28px; }
.corner { position: absolute; z-index: 3; width: 32px; height: 32px; border-color: rgb(255 255 255 / .65); border-style: solid; }
.top-left { top: 25px; left: 25px; border-width: 2px 0 0 2px; border-radius: 8px 0 0; }
.top-right { top: 25px; right: 25px; border-width: 2px 2px 0 0; border-radius: 0 8px 0 0; }
.bottom-left { bottom: 25px; left: 25px; border-width: 0 0 2px 2px; border-radius: 0 0 0 8px; }
.bottom-right { right: 25px; bottom: 25px; border-width: 0 2px 2px 0; border-radius: 0 0 8px; }
.receipt-paper { width: 57%; display: grid; gap: .82rem; padding: 2.05rem 1.6rem 2.3rem; transform: rotate(-2.3deg); background: #fffdf7; color: #3d4144; font: 500 clamp(.58rem, 1vw, .72rem) 'IBM Plex Mono', monospace; box-shadow: 0 18px 44px rgb(0 0 0 / .4); clip-path: polygon(0 0, 100% 0, 100% 96%, 94% 100%, 88% 96%, 82% 100%, 76% 96%, 70% 100%, 64% 96%, 58% 100%, 52% 96%, 46% 100%, 40% 96%, 34% 100%, 28% 96%, 22% 100%, 16% 96%, 10% 100%, 4% 96%, 0 100%); animation: receipt-drift 5s ease-in-out infinite; }
.receipt-paper span, .receipt-paper strong { display: flex; justify-content: space-between; gap: 1rem; }
.receipt-paper b { font-weight: 600; }
.receipt-logo { color: #121920; font-size: 1rem; font-weight: 600; letter-spacing: .13em; text-align: center; }
.receipt-paper .receipt-muted { display: block; color: #92928d; text-align: center; }
.receipt-rule { height: 1px; background: #dad7ce; }
.receipt-rule.dashed { background: repeating-linear-gradient(90deg, #aaa 0 4px, transparent 4px 8px); }
.receipt-paper small { color: #8e8d87; font-size: .55rem; text-align: center; }
.scan-beam { position: absolute; z-index: 4; top: 17%; left: 11%; width: 78%; height: 3px; background: var(--mint); box-shadow: 0 0 12px var(--mint), 0 0 35px rgb(50 210 150 / .75); animation: scan-sweep 3.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.scan-beam::after { content: ''; position: absolute; inset: 0 0 -45px; background: linear-gradient(rgb(50 210 150 / .14), transparent); }
.scan-beam span { position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #caffed; box-shadow: 0 0 12px #caffed; }
.capture-label { position: absolute; bottom: 24px; left: 50%; z-index: 5; padding: .48rem .7rem; transform: translateX(-50%); border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; background: rgb(8 20 36 / .78); color: #d5e2ee; font-size: .67rem; font-weight: 600; backdrop-filter: blur(6px); }
.result-card { position: absolute; right: -1.2rem; bottom: .5rem; z-index: 8; width: min(295px, 69%); overflow: hidden; border: 1px solid #dbe5ed; border-radius: 18px; background: rgb(255 255 255 / .95); box-shadow: 0 20px 45px rgb(16 35 63 / .2); backdrop-filter: blur(12px); animation: result-pop 5s ease-in-out infinite; }
.result-heading { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid #edf1f4; }
.result-heading > span { display: flex; align-items: center; gap: .5rem; color: var(--navy); font-size: .76rem; font-weight: 700; }
.result-heading i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ddf7ec; color: var(--mint-dark); font-style: normal; }
.result-heading small { color: #98a3af; font-size: .62rem; }
.result-row { display: flex; align-items: center; justify-content: space-between; padding: .62rem 1rem; opacity: 0; color: #7b8999; font-size: .68rem; animation: row-reveal 3.4s ease-out infinite; animation-delay: var(--delay); }
.result-row strong { color: #34465b; font-size: .72rem; }
.result-row.total-row { margin-top: .15rem; padding-block: .75rem; background: #f2faf6; }
.result-row.total-row strong { color: var(--mint-dark); font: 600 .9rem 'IBM Plex Mono', monospace; }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { min-height: 90px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; color: #647387; font-size: .84rem; font-weight: 700; text-align: center; }
.trust-grid i { margin-right: .35rem; color: var(--mint-dark); font-style: normal; }
.section { padding-block: clamp(6rem, 12vw, 10rem); }
h2 { max-width: 800px; margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.06em; }
.section-copy { max-width: 530px; color: var(--ink-soft); line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 5rem; }
.steps article { position: relative; padding: 1.7rem; border-top: 1px solid #b9c7d5; transition: transform .25s ease, border-color .25s ease; }
.steps article:hover { transform: translateY(-6px); border-color: var(--mint); }
.steps span { color: #527eaa; font: 600 .82rem 'IBM Plex Mono'; }
.steps h3 { margin: 3rem 0 .5rem; font-size: 1.55rem; }
.steps p { color: #68778b; line-height: 1.65; }
.feature-section { padding-block: 8rem; background: var(--navy); color: white; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.feature-grid p:not(.eyebrow) { max-width: 530px; color: #a4b6c8; line-height: 1.7; }
.feature-grid ul { display: grid; gap: 1rem; padding: 0; list-style: none; }
.feature-grid li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #2b4159; }
.feature-grid i { color: var(--mint); font-style: normal; }
.feature-grid li span { display: grid; gap: .35rem; color: #91a6bb; }
.feature-grid li strong { color: white; }
.pricing { display: grid; grid-template-columns: 1fr .75fr; gap: 8vw; align-items: center; }
.price-card { padding: 2rem; border: 1px solid #d9e2ea; border-radius: 22px; background: white; box-shadow: 0 20px 55px rgb(15 31 51 / .08); }
.price-card > p { color: var(--mint-dark); font-weight: 700; }
.price-card > strong { display: block; font: 600 3.5rem 'IBM Plex Mono'; letter-spacing: -.06em; }
.price-card sup { font-size: 1.2rem; }
.price-card small, .price-card > span { color: #708094; font: 400 .9rem Inter, sans-serif; }
.price-card ul { display: grid; gap: .8rem; margin: 2rem 0 0; padding: 2rem 0 0; border-top: 1px solid #e1e7ed; list-style: none; }
.price-card li::before { content: '✓'; margin-right: .7rem; color: var(--mint-dark); font-weight: 800; }
.price-button { width: 100%; margin-top: 1.8rem; }
.cta { padding-block: 8rem; background: var(--mint-dark); color: white; text-align: center; }
.cta .wrap { display: grid; justify-items: center; }
.cta .eyebrow { color: #d9f5e8; }
.cta p:not(.eyebrow) { color: #ddf6ea; }
.light { margin-top: 1.5rem; background: white; color: #10613f; box-shadow: 0 12px 25px rgb(9 78 52 / .2); }
footer { display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: start; padding-block: 4rem 2rem; }
footer p { margin: .6rem 0 0; color: #748296; font-size: .85rem; }
footer nav { justify-content: end; }
footer small { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid #dfe6ed; color: #8a96a5; }

@keyframes scanner-float { 0%, 100% { transform: rotateY(-3deg) rotateX(1deg) translateY(0); } 50% { transform: rotateY(-1deg) rotateX(0) translateY(-8px); } }
@keyframes receipt-drift { 0%, 100% { transform: rotate(-2.3deg) translateY(1px); } 50% { transform: rotate(-1.2deg) translateY(-4px); } }
@keyframes scan-sweep { 0%, 8% { top: 17%; opacity: 0; } 15% { opacity: 1; } 72% { top: 76%; opacity: 1; } 82%, 100% { top: 76%; opacity: 0; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgb(50 210 150 / .5); } 65%, 100% { box-shadow: 0 0 0 7px rgb(50 210 150 / 0); } }
@keyframes result-pop { 0%, 8% { transform: translateY(10px) scale(.98); } 22%, 78% { transform: translateY(0) scale(1); } 100% { transform: translateY(4px) scale(.995); } }
@keyframes row-reveal { 0%, 12% { opacity: 0; transform: translateX(8px); } 30%, 82% { opacity: 1; transform: translateX(0); } 100% { opacity: .3; transform: translateX(0); } }
@keyframes glow-breathe { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }

@media (max-width: 900px) {
  .hero, .feature-grid, .pricing { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .hero-content { max-width: 700px; }
  .hero-visual { width: min(580px, 100%); min-height: 540px; margin: 0 auto; }
  .pricing { gap: 4rem; }
  .price-card { width: min(520px, 100%); }
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 1.5rem; }
  footer { grid-template-columns: 1fr; }
  footer nav { justify-content: start; }
  footer small { grid-column: auto; }
  .nav nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 2rem, 1160px); }
  .nav { height: 74px; }
  .brand img { width: 160px; }
  h1 { font-size: clamp(3.2rem, 15vw, 4.4rem); }
  .hero { padding-block: 3.2rem 5rem; }
  .hero-copy { font-size: 1.05rem; }
  .hero-visual { min-height: 440px; }
  .visual-glow { right: 0; }
  .scanner-shell { inset: 0 0 4.8rem; border-radius: 24px; }
  .receipt-paper { width: 63%; padding: 1.6rem 1.15rem 1.9rem; }
  .result-card { right: -.25rem; width: 76%; }
  .actions { display: grid; }
  .button { width: 100%; }
  .trust-grid { font-size: .76rem; }
  .section, .feature-section, .cta { padding-block: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .result-row { opacity: 1; }
}
