:root {
    --green: #008d2e;
    --green-dark: #006c22;
    --green-deep: #003c1f;
    --green-soft: #eaf8ee;
    --green-neon: #19e05a;
    --ink: #111714;
    --muted: #5f6b64;
    --line: #dfe9e2;
    --surface: #ffffff;
    --surface-alt: #f7fbf8;
    --shadow: 0 16px 42px rgba(0, 73, 31, .11);
    --radius: 18px;
    color-scheme: light;
}

html[data-theme="dark"] {
    --green: #20c65a;
    --green-dark: #64e58f;
    --green-deep: #b9f5ce;
    --green-soft: #10271a;
    --ink: #edf7f0;
    --muted: #a6b7ab;
    --line: #263a2d;
    --surface: #0d1812;
    --surface-alt: #101e16;
    --shadow: 0 16px 42px rgba(0, 0, 0, .34);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.55;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 72px 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid rgba(0,0,0,.05);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; object-fit: contain; }
/* Frame the artwork, excluding the transparent margins in both 707x353 PNGs. */
.site-header .brand {
    position: relative;
    width: clamp(210px, 21vw, 260px);
    aspect-ratio: 690 / 225;
    overflow: hidden;
}
.brand-logo-header {
    position: absolute;
    top: 0;
    left: -.87%;
    width: 102.47%;
    height: auto;
    max-width: none;
    transform: translateY(-17.56%);
    mix-blend-mode: normal;
}
.brand-logo-footer { height: 66px; max-width: 230px; mix-blend-mode: screen; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 34px; margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 600; color: #263029; padding: 28px 0 25px; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 17px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.header-cta { margin-left: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.theme-toggle { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.theme-toggle:hover { color: var(--green); border-color: var(--green); transform: translateY(-1px); }
.theme-icon-light { display: none; }
html[data-theme="dark"] .theme-icon-light { display: inline-block; }
html[data-theme="dark"] .theme-icon-dark { display: none; }

.btn {
    min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #008c2f, #006d22); box-shadow: 0 9px 20px rgba(0,126,41,.24); }
.btn-white { background: #fff; color: #222; border-color: #dfe8e1; box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.btn-white i { color: var(--green); }
.btn-neon { color: #fff; background: linear-gradient(135deg, #04b937, #00d34a); box-shadow: 0 0 24px rgba(17,221,78,.25); }
.btn-plan { color: var(--green-dark); border-color: #a7d6b5; background: #f6fff8; width: 100%; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }

.hero {
    position: relative; overflow: hidden; min-height: 585px; padding: 46px 0 26px;
    background: linear-gradient(105deg, #fff 0%, #fff 45%, #f0fbf3 100%);
}
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,140,46,.05) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to right, transparent 0, #000 65%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 410px; height: 410px; right: -130px; top: -130px; background: rgba(95,229,139,.18); }
.hero-glow-two { width: 260px; height: 260px; right: 370px; bottom: -170px; background: rgba(0,141,46,.08); }
.hero-grid { display: grid; grid-template-columns: .88fr 1.28fr; gap: 38px; align-items: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 4px; font-size: 23px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 { margin: 0; font-size: clamp(43px, 4vw, 63px); line-height: 1.09; letter-spacing: -2.6px; }
.hero h1 span { color: var(--green); }
.hero-text { max-width: 530px; color: #47524b; font-size: 15px; margin: 22px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-badges { display: flex; gap: 25px; margin-top: 27px; }
.trust-badges span { display: flex; align-items: center; gap: 8px; color: #59655e; font-size: 10px; line-height: 1.2; font-weight: 600; }
.trust-badges i { color: var(--green); font-size: 20px; }
.hero-visual { min-width: 0; }
.device-stage { position: relative; min-height: 420px; display: grid; place-items: center; }
.device-stage > img { width: 88%; margin-left: -5%; filter: drop-shadow(0 22px 20px rgba(0,0,0,.16)); border-radius: 11px; }
.floating-feature {
    position: absolute; right: -4px; width: 118px; height: 69px; padding: 10px 14px 10px 11px;
    display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.94); border: 1px solid #e2ebe4; border-radius: 13px;
    box-shadow: 0 12px 30px rgba(0,85,32,.10); color: #28342c; font-size: 12px; font-weight: 700; line-height: 1.2;
}
.floating-feature i { width: 24px; flex: 0 0 24px; color: var(--green); font-size: 23px; text-align: center; }
.floating-feature span { flex: 1; min-width: 0; }
.card-gst { top: 34px; }
.card-cloud { top: 121px; }
.card-ai { top: 208px; }
.card-mobile { top: 295px; }

.stats-strip { margin-top: -1px; position: relative; z-index: 4; }
.stats-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); color: #fff;
    background: linear-gradient(105deg, #007c27, #005e1d); border-radius: 13px; overflow: hidden; box-shadow: 0 15px 32px rgba(0,104,35,.16);
}
.stats-grid > div { min-height: 76px; display: grid; grid-template-columns: 38px auto; align-content: center; justify-content: center; column-gap: 10px; padding: 12px; position: relative; }
.stats-grid > div:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.16); }
.stats-grid i { grid-row: 1 / 3; align-self: center; font-size: 27px; color: #b7f1ca; }
.stats-grid strong { font-size: 21px; line-height: 1.1; }
.stats-grid small { font-size: 11px; opacity: .88; }

.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.8px; }
.section-heading h2 span { color: var(--green); }
.section-heading.compact { margin-bottom: 22px; }
.section-heading.left { text-align: left; }
.feature-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.feature-card {
    min-height: 130px; padding: 19px 8px 14px; text-align: center; background: #fff; border: 1px solid #e5ece7; border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,55,23,.055); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: #a6dbb8; box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid #cfe9d7; border-radius: 13px; color: var(--green); font-size: 22px; background: #f7fff9; }
.feature-card h3 { margin: 0; font-size: 11px; line-height: 1.35; }

.ai-section { padding: 56px 0; color: #fff; background: radial-gradient(circle at 85% 48%, rgba(0,198,64,.19), transparent 28%), linear-gradient(115deg, #04150f, #001b17 58%, #03201b); overflow: hidden; position: relative; }
.ai-section::before { content: ''; position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(23,235,95,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(23,235,95,.5) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 65%); }
.ai-grid { display: grid; grid-template-columns: .92fr 1.8fr .9fr; gap: 28px; align-items: center; position: relative; z-index: 2; }
.eyebrow.light { font-size: 22px; color: #fff; }
.ai-copy h2 { margin: 2px 0 15px; font-size: 35px; line-height: 1.12; letter-spacing: -1px; }
.ai-copy p:not(.eyebrow) { color: #b9c9c0; font-size: 13px; margin-bottom: 21px; }
.ai-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ai-card { min-height: 105px; padding: 14px 5px; border: 1px solid rgba(25,224,90,.44); border-radius: 12px; text-align: center; background: rgba(4,45,28,.36); box-shadow: inset 0 0 22px rgba(0,211,73,.04); }
.ai-card i { font-size: 28px; color: #19df5b; margin-bottom: 9px; text-shadow: 0 0 14px rgba(25,223,91,.35); }
.ai-card h3 { margin: 0; font-size: 10px; line-height: 1.35; font-weight: 600; }
.brain-visual { position: relative; display: grid; place-items: center; min-height: 260px; }
.brain-visual img { width: 100%; max-width: 245px; mix-blend-mode: screen; filter: saturate(1.2) contrast(1.06); position: relative; z-index: 2; }
.brain-rings { position: absolute; width: 230px; height: 230px; border: 1px solid rgba(24,231,92,.25); border-radius: 50%; box-shadow: 0 0 40px rgba(11,229,84,.12), inset 0 0 40px rgba(11,229,84,.08); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .55; } }

.dashboard-section { background: #fff; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.dashboard-image img { width: 100%; border-radius: 14px; filter: drop-shadow(0 24px 25px rgba(0,0,0,.14)); }
.dashboard-copy h2 { font-size: 35px; line-height: 1.12; margin: 0 0 20px; letter-spacing: -1px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.tab-list button { border: 0; padding: 9px 13px; border-radius: 6px; background: #f1f3f1; color: #2d3530; font-size: 11px; font-weight: 700; cursor: pointer; }
.tab-list button.active { color: #fff; background: var(--green); }
.tab-copy ul, .price-card ul { list-style: none; padding: 0; margin: 0; }
.tab-copy li { position: relative; padding-left: 26px; margin: 14px 0; color: #39453e; font-size: 13px; }
.tab-copy li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.modules-section { padding-top: 28px; background: #fff; }
.module-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid #e2e9e4; border-radius: 14px; padding: 22px 15px; box-shadow: 0 10px 28px rgba(0,0,0,.035); }
.module-column { padding: 0 15px; }
.module-column:not(:last-child) { border-right: 1px solid #edf1ee; }
.module-column h3 { margin: 0 0 12px; color: var(--green); font-size: 14px; }
.module-column:nth-child(2) h3 { color: #09a9d3; }
.module-column:nth-child(3) h3 { color: #7b49df; }
.module-column:nth-child(4) h3 { color: #daa813; }
.module-column:nth-child(5) h3 { color: #13a6b0; }
.module-column:nth-child(6) h3 { color: #e6588a; }
.module-column ul { margin: 0; padding-left: 15px; }
.module-column li { margin: 8px 0; color: #4e5a52; font-size: 10px; }

.reasons-section { background: #fbfdfb; padding-top: 28px; }
.reason-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 18px; }
.why-card, .benefits { background: #fff; border: 1px solid #e2eae4; border-radius: 14px; padding: 23px; box-shadow: 0 8px 25px rgba(0,0,0,.035); }
.why-card h2, .benefits h2 { margin: 0 0 18px; font-size: 20px; }
.why-card h2 span { color: var(--green); }
.why-list p { display: grid; grid-template-columns: minmax(170px, .8fr) 1fr; gap: 15px; margin: 8px 0; align-items: center; }
.why-list strong, .why-list span { font-size: 11px; }
.why-list i { color: var(--green); margin-right: 6px; }
.why-list span { color: #7a857e; }
.benefits h2 { text-align: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.benefit-grid div { min-height: 103px; border-radius: 10px; display: grid; place-items: center; align-content: center; text-align: center; background: #f8f5ff; }
.benefit-grid div:nth-child(2), .benefit-grid div:nth-child(6) { background: #eefbff; }
.benefit-grid div:nth-child(3), .benefit-grid div:nth-child(7) { background: #fff2f8; }
.benefit-grid div:nth-child(4), .benefit-grid div:nth-child(8) { background: #f3fff2; }
.benefit-grid div:nth-child(5) { background: #fff9e9; }
.benefit-grid i { font-size: 25px; color: #7e4fe3; margin-bottom: 8px; }
.benefit-grid div:nth-child(2) i, .benefit-grid div:nth-child(6) i { color: #1aa7c7; }
.benefit-grid div:nth-child(3) i, .benefit-grid div:nth-child(7) i { color: #df4f89; }
.benefit-grid div:nth-child(4) i, .benefit-grid div:nth-child(8) i { color: #38a950; }
.benefit-grid div:nth-child(5) i { color: #e8aa12; }
.benefit-grid span { font-size: 10px; font-weight: 600; }

.testimonials { padding-top: 22px; background: #fff; }
.testimonial-shell { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 10px; }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { min-height: 165px; scroll-snap-align: start; border: 1px solid #e3eae5; border-radius: 13px; padding: 20px; box-shadow: 0 9px 24px rgba(0,0,0,.035); }
.stars { color: #f7b712; letter-spacing: 3px; font-size: 15px; }
.testimonial-card > p { min-height: 50px; color: #556159; font-size: 12px; }
.person { display: flex; align-items: center; gap: 11px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #d8efdf, #7ecb95); color: #075b24; font-weight: 800; font-size: 12px; }
.person div { display: grid; }
.person strong { font-size: 12px; }
.person small { color: #6d7971; font-size: 9px; }
.slider-arrow { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #58655d; background: #f5f7f5; cursor: pointer; }

.pricing-faq { padding-top: 28px; background: #fff; }
.pricing-faq-grid { display: grid; grid-template-columns: 1.24fr .86fr; gap: 35px; align-items: start; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.price-card { position: relative; border: 1px solid #dfe8e1; border-radius: 13px; padding: 19px 18px 17px; box-shadow: 0 10px 27px rgba(0,0,0,.035); background: #fff; }
.price-card.featured { border: 2px solid var(--green); padding-inline: 17px; transform: translateY(-8px); box-shadow: 0 18px 36px rgba(0,120,39,.13); }
.popular { position: absolute; left: -2px; right: -2px; top: -25px; height: 25px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 8px 8px 0 0; font-size: 9px; font-weight: 700; }
.plan-label { margin: 0; font-size: 13px; font-weight: 800; }
.price-card > small { display: block; color: var(--green); font-size: 9px; min-height: 14px; }
.price-card h3 { font-size: 25px; margin: 7px 0 14px; }
.price-card h3 span { color: #69746d; font-size: 10px; font-weight: 500; }
.price-card li { position: relative; padding-left: 17px; margin: 8px 0; color: #48544d; font-size: 10px; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-card .btn { width: 100%; min-height: 39px; margin-top: 8px; font-size: 11px; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border: 1px solid #e1e8e3; border-radius: 9px; overflow: hidden; background: #fff; }
.faq-item button { width: 100%; border: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 15px; cursor: pointer; color: #354038; font-size: 11px; text-align: left; }
.faq-item button i { transition: transform .25s ease; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer p { overflow: hidden; margin: 0; padding: 0 15px; color: #69756e; font-size: 11px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding-bottom: 14px; }
.faq-item.open button i { transform: rotate(45deg); }

.final-cta { padding: 0; background: #fff; }
.final-cta-inner { min-height: 92px; padding: 18px 32px 18px 115px; border-radius: 14px 14px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; color: #fff; position: relative; background: linear-gradient(105deg, #00812a, #006a21); overflow: hidden; }
.final-cta h2 { margin: 0; font-size: 25px; }
.final-cta p { margin: 3px 0 0; color: #d9f2e1; font-size: 11px; }
.final-actions { display: flex; gap: 12px; }
.final-actions .btn { min-width: 150px; min-height: 45px; }
.store-art { position: absolute; left: 12px; bottom: 0; width: 90px; height: 88px; display: grid; place-items: center; background: #fff; border-radius: 8px 8px 0 0; }
.awning { position: absolute; top: 0; width: 100%; height: 22px; background: repeating-linear-gradient(90deg, #fff 0 15px, #27b94f 15px 30px); border-bottom: 4px solid #087f2a; }
.store-icon { width: 54px; height: 54px; margin-top: 18px; overflow: hidden; border-radius: 12px; box-shadow: 0 5px 13px rgba(0,0,0,.16); }
.store-icon img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { background: #00351e; color: #d7e6dc; padding: 38px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.65fr repeat(4, 1fr); gap: 35px; }
.footer-about p { color: #abc2b4; font-size: clamp(12px, 1vw, 14px); line-height: 1.65; max-width: 320px; }
.site-footer h3 { margin: 8px 0 13px; color: #fff; font-size: clamp(14px, 1.15vw, 16px); }
.site-footer > .container a:not(.brand):not(.social-links a) { display: block; color: #b6cabe; font-size: clamp(12px, .95vw, 14px); margin: 8px 0; }
.footer-contact p { display: flex; gap: 8px; margin: 9px 0; color: #b6cabe; font-size: clamp(12px, .95vw, 14px); line-height: 1.55; }
.footer-contact i { color: #2bdc65; margin-top: 2px; }
.social-links { display: flex; gap: 8px; margin-top: 15px; }
.social-links a { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; color: #cbe0d2; background: rgba(255,255,255,.08); font-size: 10px; }
.copyright { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.09); text-align: center; color: #9bb4a5; font-size: clamp(11px, .9vw, 13px); }
.whatsapp-float {
    position: fixed; right: 20px; bottom: 22px; z-index: 50;
    width: 52px; height: 52px; display: grid; place-items: center;
    color: #fff; background: #19b952; font-size: 30px; line-height: 1;
    border: 0; border-radius: 50%; box-shadow: none;
}

.video-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(0,18,9,.78); opacity: 0; visibility: hidden; transition: .25s; }
.video-modal.open { opacity: 1; visibility: visible; }
.video-dialog { width: min(760px, 100%); min-height: 430px; border-radius: 18px; background: #07130e; position: relative; display: grid; place-items: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.video-close { position: absolute; right: 15px; top: 15px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; }
.video-placeholder { text-align: center; color: #fff; padding: 40px; }
.video-placeholder > i { color: #18d655; font-size: 70px; }
.video-placeholder p { color: #b7c8be; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .62s ease, transform .62s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    .main-nav { gap: 20px; }
    .header-cta { display: none; }
    .feature-grid { grid-template-columns: repeat(5, 1fr); }
    .ai-grid { grid-template-columns: .8fr 1.6fr; }
    .brain-visual { display: none; }
    .module-grid { grid-template-columns: repeat(3, 1fr); gap: 25px 0; }
    .module-column:nth-child(3) { border-right: 0; }
    .module-column:nth-child(n+4) { border-top: 1px solid #edf1ee; padding-top: 20px; }
    .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .container { width: min(100% - 28px, 680px); }
    .section { padding: 55px 0; }
    .header-inner { min-height: 76px; }
    .nav-toggle { display: block; margin-left: auto; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: absolute; top: 100%; left: 14px; right: 14px; display: grid; gap: 0; padding: 10px; border-radius: 13px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    .main-nav a { padding: 12px 14px; }
    .main-nav a::after { display: none; }
    .hero { padding-top: 35px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-text { margin-inline: auto; }
    .hero-actions, .trust-badges { justify-content: center; }
    .hero-visual { margin-top: -25px; }
    .device-stage { min-height: 350px; }
    .device-stage > img { width: 85%; margin-left: -7%; }
    .floating-feature { right: 0; }
    .card-mobile { top: 270px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid > div:last-child { grid-column: 1 / -1; }
    .stats-grid > div:nth-child(2)::after, .stats-grid > div:nth-child(4)::after { display: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-grid { grid-template-columns: 1fr; }
    .ai-copy { text-align: center; max-width: 520px; margin-inline: auto; }
    .ai-card-grid { grid-template-columns: repeat(5, 1fr); }
    .dashboard-grid, .reason-grid, .pricing-faq-grid { grid-template-columns: 1fr; }
    .dashboard-copy { text-align: center; }
    .tab-list { justify-content: center; }
    .tab-copy { text-align: left; }
    .testimonial-track { grid-auto-columns: calc((100% - 16px) / 2); }
    .pricing-faq-grid { gap: 60px; }
    .final-cta-inner { grid-template-columns: 1fr; padding-left: 112px; }
    .final-actions { justify-self: start; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 22px, 470px); }
    .site-header .brand {
        width: clamp(180px, 58vw, 230px);
        max-width: calc(100% - 96px);
    }
    .brand-logo-footer { height: 58px; max-width: 205px; }
    .hero h1 { font-size: 40px; letter-spacing: -1.7px; }
    .eyebrow { font-size: 19px; }
    .trust-badges { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 24px; }
    .device-stage { min-height: 290px; }
    .device-stage > img { width: 91%; margin: 0 auto; }
    .floating-feature { width: 96px; height: 56px; padding: 7px 9px; gap: 7px; font-size: 9px; }
    .floating-feature i { width: 18px; flex-basis: 18px; font-size: 17px; }
    .card-gst { top: 5px; }
    .card-cloud { top: 68px; }
    .card-ai { top: 131px; }
    .card-mobile { top: 194px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stats-grid > div { min-height: 68px; }
    .stats-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
    .stats-grid > div::after { display: none !important; }
    .stats-grid > div:last-child { grid-column: auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-card-grid { grid-template-columns: repeat(2, 1fr); }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
    .module-column { border-right: 0 !important; border-top: 1px solid #edf1ee; padding-top: 18px; }
    .module-column:nth-child(-n+2) { border-top: 0; padding-top: 0; }
    .why-list p { grid-template-columns: 1fr; gap: 2px; border-bottom: 1px dashed #e5ebe7; padding-bottom: 8px; }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-shell { grid-template-columns: 1fr; }
    .slider-arrow { display: none; }
    .testimonial-track { grid-auto-columns: 88%; }
    .pricing-grid { grid-template-columns: 1fr; gap: 28px; }
    .price-card.featured { transform: none; margin-top: 18px; }
    .final-cta-inner { padding: 105px 20px 22px; text-align: center; grid-template-columns: 1fr; }
    .store-art { top: 0; left: 50%; transform: translateX(-50%); }
    .final-actions { display: grid; width: 100%; justify-self: stretch; }
    .final-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .footer-contact { grid-column: 1 / -1; }
}

/* Dark theme */
html[data-theme="dark"] body { background: var(--surface); }
html[data-theme="dark"] .site-header { background: rgba(7, 17, 12, .94); border-bottom-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
html[data-theme="dark"] .brand-logo-header { mix-blend-mode: screen; }
html[data-theme="dark"] .main-nav a { color: #dce9df; }
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a.active { color: var(--green); }
html[data-theme="dark"] .hero { background: linear-gradient(105deg, #07110c 0%, #09140e 48%, #0e2416 100%); }
html[data-theme="dark"] .hero::before { background-image: radial-gradient(rgba(55,220,107,.10) 1px, transparent 1px); }
html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .trust-badges span { color: var(--muted); }
html[data-theme="dark"] .device-stage > img,
html[data-theme="dark"] .dashboard-image img { filter: brightness(.88) drop-shadow(0 22px 20px rgba(0,0,0,.4)); }
html[data-theme="dark"] .floating-feature { background: rgba(16,31,22,.95); border-color: var(--line); color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
html[data-theme="dark"] .platform,
html[data-theme="dark"] .dashboard-section,
html[data-theme="dark"] .modules-section,
html[data-theme="dark"] .testimonials,
html[data-theme="dark"] .pricing-faq,
html[data-theme="dark"] .final-cta { background: var(--surface); }
html[data-theme="dark"] .reasons-section { background: #0a150f; }
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .why-card,
html[data-theme="dark"] .benefits,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .faq-item { background: var(--surface-alt); border-color: var(--line); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
html[data-theme="dark"] .feature-icon { background: #12291b; border-color: #265638; }
html[data-theme="dark"] .tab-list button { background: #1a281f; color: #c7d5cb; }
html[data-theme="dark"] .tab-list button.active { background: var(--green); color: #06110a; }
html[data-theme="dark"] .tab-copy li,
html[data-theme="dark"] .module-column li,
html[data-theme="dark"] .testimonial-card > p,
html[data-theme="dark"] .price-card li { color: var(--muted); }
html[data-theme="dark"] .module-grid { border-color: var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.2); }
html[data-theme="dark"] .module-column:not(:last-child) { border-color: var(--line); }
html[data-theme="dark"] .why-list span,
html[data-theme="dark"] .person small,
html[data-theme="dark"] .price-card h3 span,
html[data-theme="dark"] .faq-answer p { color: var(--muted); }
html[data-theme="dark"] .benefit-grid div { background: #1c1830; }
html[data-theme="dark"] .benefit-grid div:nth-child(2),
html[data-theme="dark"] .benefit-grid div:nth-child(6) { background: #102832; }
html[data-theme="dark"] .benefit-grid div:nth-child(3),
html[data-theme="dark"] .benefit-grid div:nth-child(7) { background: #301522; }
html[data-theme="dark"] .benefit-grid div:nth-child(4),
html[data-theme="dark"] .benefit-grid div:nth-child(8) { background: #132a18; }
html[data-theme="dark"] .benefit-grid div:nth-child(5) { background: #2d2612; }
html[data-theme="dark"] .slider-arrow { background: #1a281f; color: #c9d9ce; }
html[data-theme="dark"] .btn-white { background: #15231a; color: var(--ink); border-color: var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
html[data-theme="dark"] .btn-plan { background: #10271a; border-color: #34794a; color: #7ce6a0; }
html[data-theme="dark"] .faq-item button { background: var(--surface-alt); color: var(--ink); }

@media (max-width: 820px) {
    .nav-toggle { margin-left: auto; }
    .theme-toggle { margin-left: 0; }
    html[data-theme="dark"] .main-nav { background: #101e16; box-shadow: 0 20px 40px rgba(0,0,0,.38); }
}

@media (max-width: 560px) {
    .header-inner { gap: 8px; }
    .theme-toggle { width: 38px; height: 38px; flex-basis: 38px; }
    .nav-toggle { width: 38px; }
    html[data-theme="dark"] .module-column,
    html[data-theme="dark"] .why-list p { border-color: var(--line); }
}


/* Contact form */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(25, 224, 90, .10), transparent 24%),
        radial-gradient(circle at 92% 82%, rgba(0, 141, 46, .08), transparent 28%),
        var(--surface-alt);
}
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 141, 46, .055) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(120deg, #000, transparent 72%);
}
.contact-section .container { position: relative; z-index: 1; }
.contact-heading { max-width: 700px; margin-inline: auto; }
.contact-heading > p:last-child { max-width: 620px; margin: 10px auto 0; color: var(--muted); font-size: 14px; }
.contact-kicker { margin: 0 0 8px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 22px; align-items: stretch; }
.contact-details,
.query-form { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.contact-details { display: flex; flex-direction: column; }
.contact-visual {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    margin-bottom: 24px;
    padding: 26px 25px;
    border-radius: 15px;
    color: #fff;
    background:
        radial-gradient(circle at 87% 25%, rgba(94, 255, 146, .23), transparent 29%),
        linear-gradient(135deg, #008d2e, #004d24);
}
.contact-visual::after { content: ''; position: absolute; right: -34px; bottom: -56px; width: 175px; height: 175px; border: 28px solid rgba(255,255,255,.08); border-radius: 50%; }
.contact-visual-icon { width: 60px; height: 60px; margin-bottom: 19px; overflow: hidden; border: 5px solid rgba(255,255,255,.25); border-radius: 15px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.contact-visual-icon img { width: 100%; height: 100%; object-fit: cover; }
.contact-visual > span { display: block; margin-bottom: 7px; color: #bdf5cd; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-visual h3 { max-width: 330px; margin: 0 0 9px; font-size: 22px; line-height: 1.2; }
.contact-visual p { position: relative; z-index: 1; max-width: 390px; margin: 0; color: #d9f3e1; font-size: 12px; }
.contact-map { margin-bottom: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-alt); }
.contact-map img { width: 100%; aspect-ratio: 809 / 379; object-fit: cover; }
.contact-details > h3 { margin: 0 0 6px; font-size: 19px; }
.contact-detail { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-detail > span { width: 41px; height: 41px; display: grid; place-items: center; flex: 0 0 41px; border: 1px solid #cfe9d7; border-radius: 11px; color: var(--green); background: var(--green-soft); }
.contact-detail strong { display: block; font-size: 12px; }
.contact-detail p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.contact-detail a:hover { color: var(--green); }
.contact-whatsapp { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 14px; border: 1px solid #51be73; border-radius: 13px; color: var(--green-dark); background: var(--green-soft); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.contact-whatsapp:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 10px 24px rgba(0, 141, 46, .12); }
.contact-whatsapp > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 50%; color: #fff; background: #20b95a; font-size: 23px; }
.contact-whatsapp strong,
.contact-whatsapp small { display: block; }
.contact-whatsapp strong { font-size: 12px; }
.contact-whatsapp small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-heading span { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.form-heading h3 { margin: 3px 0 0; font-size: 21px; }
.form-heading > i { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 8px 20px rgba(0, 141, 46, .22); font-size: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label,
.captcha-row label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 11px; font-weight: 700; }
.form-field label span,
.captcha-row label span { color: #d62b3c; }
.form-field input,
.form-field textarea,
.captcha-row input { width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: var(--surface-alt); font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-field textarea { min-height: 104px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder,
.captcha-row input::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }
.form-field input:focus,
.form-field textarea:focus,
.captcha-row input:focus { border-color: var(--green); background: var(--surface); box-shadow: 0 0 0 3px rgba(0, 141, 46, .11); }
.form-field input:invalid:not(:placeholder-shown),
.captcha-row input:invalid:not(:placeholder-shown) { border-color: #d85b68; }
.captcha-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; margin-bottom: 18px; }
.captcha-code { min-height: 45px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dark)); font-size: 19px; font-weight: 900; letter-spacing: 4px; user-select: none; }
.contact-submit { width: 100%; }
.contact-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { display: none; margin-top: 12px; padding: 11px 13px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 700; }
.form-status.success,
.form-status.error { display: block; }
.form-status.success { color: #eafff0; border-color: #167d3c; background: #198754; }
.form-status.error { color: #fff4f5; border-color: #b02a37; background: #dc3545; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.form-privacy i { color: var(--green); }

html[data-theme="dark"] .contact-section { background: #0a150f; }
html[data-theme="dark"] .contact-details,
html[data-theme="dark"] .query-form { background: var(--surface-alt); border-color: var(--line); box-shadow: 0 16px 42px rgba(0,0,0,.24); }
html[data-theme="dark"] .contact-detail > span,
html[data-theme="dark"] .contact-whatsapp { border-color: #285b38; background: #10271a; }
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field textarea,
html[data-theme="dark"] .captcha-row input { background: #0d1812; }
html[data-theme="dark"] .form-field input:focus,
html[data-theme="dark"] .form-field textarea:focus,
html[data-theme="dark"] .captcha-row input:focus { background: #101e16; }
html[data-theme="dark"] .captcha-code {
    border-color: #3d8b58;
    color: #edf7f0;
    background: linear-gradient(135deg, #174c2a, #246a3a);
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .contact-details,
    .query-form { padding: 20px; }
    .form-row,
    .captcha-row { grid-template-columns: 1fr; }
    .contact-visual { min-height: auto; padding: 22px; }
    .form-heading h3 { font-size: 18px; }
}


/* Hero redesign */
.site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: blur(0); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.94); border-bottom-color: rgba(0,0,0,.06); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.hero { min-height: 700px; padding: 140px 0 46px; background: radial-gradient(circle at 74% 32%, rgba(177,244,196,.42), transparent 26%), linear-gradient(105deg, #fff 0%, #fff 47%, #effbf2 100%); }
.hero::before { background-image: radial-gradient(rgba(0,140,46,.08) 1px, transparent 1px); mask-image: linear-gradient(to right, transparent 0, #000 53%, transparent 92%); }
.hero-grid { grid-template-columns: .98fr 1.16fr; gap: 20px; }
.eyebrow { margin-bottom: 8px; color: #33423a; font-size: 14px; letter-spacing: 6px; text-transform: uppercase; }
.hero h1 { font-size: clamp(46px,4.5vw,69px); line-height: 1.06; letter-spacing: -3.2px; }
.hero-text { max-width: 590px; font-size: 17px; line-height: 1.5; margin: 18px 0 24px; }
.hero-feature-list { display: grid; grid-template-columns: repeat(6,1fr); gap: 9px; max-width: 600px; margin: 0 0 28px; }
.hero-feature-list > div { display: grid; justify-items: center; gap: 6px; color: #39463e; font-size: 10px; font-weight: 700; line-height: 1.22; text-align: center; }
.hero-feature-list i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(232,249,237,.86); font-size: 21px; }
.device-stage { min-height: 465px; isolation: isolate; }
.device-stage::before { content: ""; position: absolute; width: 570px; height: 570px; z-index: -2; border-radius: 50%; background: radial-gradient(circle at 44% 42%, rgba(255,255,255,.9), rgba(209,247,220,.72) 53%, rgba(202,242,215,0) 71%); }
.device-stage > img { width: min(108%,660px); margin-left: -2%; filter: drop-shadow(0 28px 24px rgba(0,45,19,.2)); border-radius: 14px; position: relative; z-index: 1; }
.visual-orbit { position: absolute; border: 1px solid rgba(0,141,46,.13); border-radius: 50%; z-index: -1; }
.orbit-one { width: 440px; height: 440px; }
.orbit-two { width: 540px; height: 540px; border-style: dashed; }
@media (max-width: 820px) { .site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); } .hero { min-height: 0; padding-top: 110px; } .hero-feature-list { max-width: 520px; margin-inline: auto; } }
@media (max-width: 560px) { .hero { padding-top: 98px; } .eyebrow { font-size: 11px; letter-spacing: 4px; } .hero h1 { font-size: clamp(39px, 11vw, 52px); } .hero-text { font-size: 15px; } .hero-feature-list { grid-template-columns: repeat(3,1fr); gap: 15px 8px; } .hero-feature-list i { width: 46px; height: 46px; font-size: 18px; } .device-stage::before { width: 360px; height: 360px; } .orbit-one { width: 290px; height: 290px; } .orbit-two { width: 350px; height: 350px; } }

html[data-theme="dark"] .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: blur(0); }
html[data-theme="dark"] .site-header.scrolled { background: rgba(7,17,12,.94); border-bottom-color: rgba(255,255,255,.08); backdrop-filter: blur(16px); }


/* Corrected logo assets and device visual */
.brand-logo-header { mix-blend-mode: normal; }
html[data-theme="dark"] .brand-logo-header { mix-blend-mode: normal; }
.hero-visual { align-self: stretch; display: grid; align-items: center; }
.device-stage { min-height: 500px; overflow: visible; }
.device-stage > img { width: min(125%, 760px); max-width: none; margin-left: -9%; border-radius: 0; filter: drop-shadow(0 26px 24px rgba(0,45,19,.18)); }
@media (max-width: 820px) { .device-stage { min-height: 380px; } .device-stage > img { width: min(112%, 680px); margin-left: -6%; } }
@media (max-width: 560px) { .device-stage { min-height: 285px; } .device-stage > img { width: 112%; margin-left: -6%; } }




/* Dark hero refinements */
html[data-theme="dark"] .device-stage::before,
html[data-theme="dark"] .visual-orbit { display: none; }
html[data-theme="dark"] .hero-text { color: #d4e1d8; }
html[data-theme="dark"] .eyebrow { color: #a7cdb2; }
html[data-theme="dark"] .hero-feature-list > div { color: #d7e6dc; }
html[data-theme="dark"] .hero-feature-list i { background: #dce9e1; color: #009d37; }
html[data-theme="dark"] .device-stage > img { margin-left: 5%; filter: drop-shadow(0 26px 24px rgba(0,0,0,.38)); }
@media (max-width: 820px) { html[data-theme="dark"] .device-stage > img { margin-left: -2%; } }
@media (max-width: 560px) { html[data-theme="dark"] .device-stage > img { margin-left: -4%; } }


/* Reference-aligned hero devices, shared by light and dark themes */
/* Frame the actual devices: the source includes 656px of empty left space.
   Two clipped layers preserve the original dashboard text and upright phone. */
.device-artwork {
    position: absolute;
    top: 50%;
    right: clamp(-56px, calc((1180px - 100vw) / 2 + 20px), 0px);
    width: 112%;
    aspect-ratio: 1327 / 793;
    transform: translateY(-50%);
}
.device-screen-composite {
    position: absolute;
    inset: 0;
    filter: drop-shadow(0 26px 24px rgba(0,0,0,.24));
}
.device-screen-composite > .device-laptop,
.device-screen-composite > .device-phone {
    position: absolute;
    top: 0;
    left: -49.435%;
    width: 149.435%;
    max-width: none;
    height: 100%;
}
.device-laptop {
    clip-path: polygon(0 0, 100% 0, 100% 28%, 88.5% 28%, 87% 28.7%, 86.1% 31%, 85.8% 34%, 85.8% 100%, 0 100%);
    transform-origin: 85.8% 82%;
    transform: perspective(1400px) rotateY(-7deg) skewX(-3deg);
}
.device-phone {
    /* Slight overlap conceals the clipped laptop edge beneath the phone. */
    transform: translateX(-.5%);
    clip-path: polygon(88.5% 28%, 100% 28%, 100% 100%, 85.8% 100%, 85.8% 34%, 86.1% 31%, 87% 28.7%);
}
@media (max-width: 820px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { margin-top: 8px; }
    .device-stage { min-height: 0; display: block; }
    .device-artwork {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-inline: auto;
        transform: none;
    }
}

/* Keep the four floating cards anchored just above the laptop screen. */
.device-capabilities {
    --capability-gap: 10px;
    --capability-divider: rgba(35, 117, 65, .32);
    position: absolute;
    z-index: 3;
    left: 20%;
    right: 2%;
    bottom: calc(100% - 10px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--capability-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.device-capability {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    animation: hero-card-float 5s ease-in-out infinite;
}
/* A divider only between adjacent cards, centered in the column gap. */
.device-capability:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--capability-gap) * -.5);
    top: 50%;
    width: 1px;
    height: 34px;
    transform: translateY(-50%);
    background: var(--capability-divider);
    pointer-events: none;
}
html[data-theme="dark"] .device-capabilities {
    --capability-divider: rgba(166, 223, 184, .34);
}
.device-capability i { color: var(--green); font-size: 25px; flex: 0 0 28px; text-align: center; }
.device-capability:nth-child(2) { animation-delay: -1.25s; }
.device-capability:nth-child(3) { animation-delay: -2.5s; }
.device-capability:nth-child(4) { animation-delay: -3.75s; }
@keyframes hero-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
    .device-capability { animation: none; }
}
@media (min-width: 821px) and (max-width: 1100px) {
    .device-capabilities { --capability-gap: 7px; left: 12%; right: 0; }
    .device-capability { padding: 9px 7px; gap: 7px; font-size: 11px; }
    .device-capability i { font-size: 22px; flex-basis: 24px; }
}
@media (max-width: 820px) {
    .device-stage { padding-top: 72px; }
    .device-capabilities { left: 12%; right: 0; }
}
@media (max-width: 560px) {
    .device-stage { padding-top: 132px; }
    .device-capabilities { left: 0; right: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .device-capability:nth-child(2)::after { display: none; }
}

/* Reference-style light hero backdrop */
html:not([data-theme="dark"]) .hero {
    background:
        radial-gradient(ellipse 20% 46% at 99% 37%, rgba(216,240,221,.62) 0 18%, rgba(216,240,221,.18) 45%, transparent 72%),
        radial-gradient(ellipse 43% 82% at 57% 34%, rgba(220,248,228,.83) 0 52%, rgba(231,250,237,.46) 68%, transparent 69%),
        linear-gradient(100deg, #fff 0%, #fff 43%, #f4fcf6 100%);
}
html:not([data-theme="dark"]) .hero::before {
    opacity: .82;
    background-image: radial-gradient(rgba(0,141,46,.13) 1.3px, transparent 1.5px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 39% 70% at 52% 38%, #000 0 45%, transparent 74%);
}
html:not([data-theme="dark"]) .hero-glow-one {
    width: 420px; height: 420px; right: -120px; top: -72px;
    background: radial-gradient(circle, rgba(255,255,255,.76) 0 12%, rgba(223,246,228,.52) 48%, transparent 72%);
    filter: blur(18px);
}
html:not([data-theme="dark"]) .hero-glow-two {
    width: 580px; height: 140px; right: -110px; bottom: -85px;
    background: radial-gradient(ellipse, rgba(55,211,91,.32), rgba(173,242,190,.18) 43%, transparent 72%);
    filter: blur(21px);
}
html:not([data-theme="dark"]) .device-stage::before { display: none; }


/* Reference capsule decorations */
.hero-capsule { position: absolute; z-index: 1; width: 150px; height: auto; pointer-events: none; filter: drop-shadow(0 10px 11px rgba(0,76,26,.18)); }
/* Position relative to the device artwork so the capsule follows the laptop. */
.capsule-center {
    left: -1%;
    top: 57%;
    width: 20%;
    max-width: 150px;
    transform: translateY(-50%) rotate(-18deg);
}
.capsule-top-right { width: 185px; right: -34px; top: 9%; transform: rotate(11deg); }
.capsule-bottom-right { width: 235px; right: 6%; bottom: -112px; transform: rotate(18deg); }
html[data-theme="dark"] .hero-capsule { filter: drop-shadow(0 12px 16px rgba(0,0,0,.5)); }
@media (max-width: 820px) { .hero-capsule { opacity: .68; } .capsule-center { width: 105px; } .capsule-top-right { width: 105px; right: -28px; } .capsule-bottom-right { display: none; } }
@media (max-width: 560px) { .hero-capsule { display: none; } }

/* Pharmacy shelf and capsule crop. Keep its native proportions as it scales. */
.hero-store-backdrop {
    --store-width: clamp(170px, 16vw, 203px);
    --store-top: 92px;
    position: absolute;
    z-index: 0;
    display: block;
    top: var(--store-top);
    right: 0;
    width: var(--store-width);
    height: auto;
    aspect-ratio: 203 / 175;
    object-fit: contain;
    pointer-events: none;
    opacity: .96;
    mask-image: linear-gradient(to left, #000 76%, transparent 100%);
}
.capsule-top-right { display: none; }

html[data-theme="dark"] .hero-store-backdrop {
    --store-width: clamp(180px, 18vw, 260px);
    --store-top: clamp(84px, 6.75vw, 108px);
    opacity: .85;
    filter: brightness(.64) saturate(.85);
    /* Fade the left, top and bottom edges into the dark hero. */
    -webkit-mask-image:
        linear-gradient(to right, transparent, #000 42%),
        linear-gradient(to bottom, transparent, #000 24%, #000 68%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent, #000 42%),
        linear-gradient(to bottom, transparent, #000 24%, #000 68%, transparent);
    mask-composite: intersect;
}

@media (max-width: 820px) {
    .hero-store-backdrop,
    html[data-theme="dark"] .hero-store-backdrop {
        --store-width: 145px;
        --store-top: 72px;
    }
}
@media (max-width: 560px) {
    .hero-store-backdrop { display: none; }
}
