/* Home.aspx - the public home page (application information + Login). Light / dark follow the device. */
:root {
    --navy: #110a57; --brand: #0d7ea3; --brand-2: #32bdea; --brand-50: #e7f4fa; --ok: #25794a;
    --bg: #ffffff; --soft: #f5f8fb; --card: #ffffff; --text: #16233a; --muted: #55667a; --line: #e3e9f0;
    --shadow: 0 10px 30px rgba(17, 10, 87, .08);
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root { --bg: #0c1220; --soft: #111a2c; --card: #152036; --text: #e8eef6; --muted: #9fb0c3; --line: #24324b; --brand-50: rgba(50, 189, 234, .14); --shadow: none; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand b { display: block; font-size: 18px; line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.acts { display: flex; gap: 10px; margin-left: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; font: 700 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #0a6788; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1100px 500px at 85% -10%, rgba(50, 189, 234, .18), transparent 60%), linear-gradient(180deg, var(--soft), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 13px; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; margin: 16px 0 16px; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks i { color: var(--ok); font-size: 18px; }

/* sample invoice card */
.bill { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; position: relative; }
.bill__h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.bill__co { font-size: 18px; font-weight: 800; margin: 10px 0 2px; }
.bill__gst { font-size: 13px; color: var(--muted); }
.bill table { width: 100%; border-collapse: collapse; margin: 16px 0 10px; font-size: 14px; }
.bill th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); padding: 6px 0; }
.bill td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.bill .num { text-align: right; white-space: nowrap; }
.bill__tot { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 20px; }
.bill__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand); }
.chip--ok { background: rgba(37, 121, 74, .12); color: var(--ok); }
.float { position: absolute; right: -14px; bottom: -18px; background: #1f8f4e; color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(31, 143, 78, .3); display: flex; gap: 6px; align-items: center; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.soft { background: var(--soft); }
.head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 10px 0; letter-spacing: -.01em; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-size: 22px; }
.card h3 { font-size: 17px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 22px 72px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.for { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.for > span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-weight: 600; }
.for i { color: var(--brand); font-size: 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; }
.list i { color: var(--ok); font-size: 22px; flex: none; line-height: 1.3; }
.list b { display: block; }
.list span { color: var(--muted); font-size: 14.5px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 16px; color: var(--muted); }

.band { background: linear-gradient(120deg, var(--navy), #1b2f7a 60%, var(--brand)); color: #fff; border-radius: 22px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.band p { margin: 0; opacity: .85; }
.band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.band .btn-primary { background: #fff; color: var(--navy); }

footer { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--brand); }

/* phones: Login always one tap away */
.mbar { display: none; }
@media (max-width: 960px) {
    .hero .wrap, .split { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .nav { display: none; }
    .acts { margin-left: auto; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .grid { grid-template-columns: 1fr; }
    .acts .btn { display: none; }   /* phones: Login / Register / dashboard are in the bottom bar (the header keeps the logo and the language switch) */
    .hero .wrap { padding-top: 36px; padding-bottom: 48px; }
    section { padding: 52px 0; }
    .band { padding: 28px; }
    .float { right: 8px; }
    .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
    .mbar .btn { flex: 1; }
    body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* inline styles of the sample moved here */
.split h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 10px 0 12px; }
.split > div > p { color: var(--muted); margin: 0; }
.faq { max-width: 820px; }
#contact { padding-top: 0; }
.lang { color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.lang:hover { color: var(--brand); }
.no-tr { white-space: nowrap; }
