/* KaamDiary home — the app's indigo, premium and modern. */
:root {
  --primary: #4f5bd5;
  --primary-dark: #3b42c4;
  --primary-darker: #2a2d8c;
  --primary-light: #eceefd;
  --primary-muted: #f5f6fe;
  --gradient: linear-gradient(135deg, #5b66e0 0%, #3b42c4 50%, #2a2d8c 100%);
  --grad-text: linear-gradient(100deg, #4f5bd5 0%, #7b5cf0 50%, #3b42c4 100%);
  --bg: #fbfbfe;
  --bg-tint: #f4f5fc;
  --surface: #ffffff;
  --text: #121530;
  --text-2: #565c7a;
  --text-3: #8a8fa8;
  --border: #e6e8f3;
  --green: #16a34a;
  --green-l: #dcfce7;
  --amber: #c2700c;
  --amber-l: #fff1d6;
  --red: #dc2626;
  --red-l: #fee2e2;
  --shadow-sm: 0 1px 2px rgba(18, 21, 48, 0.05);
  --shadow: 0 2px 6px rgba(18, 21, 48, 0.04), 0 12px 32px rgba(42, 45, 140, 0.08);
  --shadow-lg: 0 30px 80px rgba(42, 45, 140, 0.22);
  --glow: 0 12px 32px rgba(79, 91, 213, 0.38);
  --radius: 22px;
  --container: 1180px;
  --font: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', 'Noto Sans Devanagari', var(--font);
  color-scheme: light;
}
:root[data-theme='dark'] {
  --primary: #6b74e6;
  --primary-dark: #a3a9f7;
  --primary-light: #272b55;
  --primary-muted: #1f2240;
  --grad-text: linear-gradient(100deg, #8f97f2 0%, #b39cff 50%, #8890f0 100%);
  --bg: #12131c;
  --bg-tint: #171926;
  --surface: #1e2030;
  --text: #eef0f7;
  --text-2: #b2b6ca;
  --text-3: #8b90a8;
  --border: #2f3247;
  --green-l: #163a26;
  --amber-l: #3d2e12;
  --red-l: #3f1d1d;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary-dark); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; border-radius: 14px; padding: 12px 20px; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(79, 91, 213, 0.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-white { background: #fff; color: var(--primary-darker); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.play-btn svg { width: 24px; height: 24px; fill: currentColor; }
.play-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.play-btn small { font-size: 10px; letter-spacing: 0.08em; opacity: 0.85; font-weight: 600; }
.play-btn b { font-size: 17px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .i-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .i-moon { display: none; }
.pill-btn { display: inline-flex; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 3px; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; }
.pill-btn span { padding: 4px 9px; border-radius: 999px; color: var(--text-2); }
.pill-btn[aria-pressed='true'] .lang-en, .pill-btn[aria-pressed='false'] .lang-hi { background: var(--gradient); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { border-radius: 11px; box-shadow: 0 6px 16px rgba(42, 45, 140, 0.3); }
.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-muted); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float 16s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #8b93f5; top: -160px; right: -80px; }
.b2 { width: 420px; height: 420px; background: #b6a3ff; top: 220px; right: 260px; animation-delay: -5s; opacity: 0.35; }
.b3 { width: 380px; height: 380px; background: #9fd7ff; bottom: -200px; left: -120px; animation-delay: -9s; opacity: 0.35; }
:root[data-theme='dark'] .blob { opacity: 0.22; }
.grid-fade { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 60%); opacity: 0.5; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -30px) scale(1.06); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; color: var(--primary-dark); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 span { display: block; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--text-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.hero-trust li { color: var(--text-2); font-size: 14px; }
.hero-trust b { font-family: var(--display); font-size: 22px; color: var(--text); margin-right: 4px; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone { width: 300px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2b2e45, #0e0f18); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08); transform: rotateY(-12deg) rotateX(6deg); transition: transform 0.6s; position: relative; }
.hero-visual:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 100px; height: 24px; background: #0e0f18; border-radius: 0 0 16px 16px; z-index: 2; }
.screen { background: #f6f7fb; border-radius: 36px; overflow: hidden; height: 560px; font-size: 12px; color: #171a2b; }
.slides { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.slide { flex: 0 0 100%; min-width: 0; overflow: hidden; height: 100%; padding: 38px 14px 0; display: flex; flex-direction: column; }
.slide .tabbar { margin-top: auto; }
.slide > * { flex-shrink: 0; }
.w-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Carousel controls */
.phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.car-arrow { position: absolute; top: 280px; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.15s, background 0.15s, color 0.15s; }
.car-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.car-arrow:hover { background: var(--primary-dark); color: #fff; transform: translateY(-50%) scale(1.06); }
.car-arrow.prev { left: -70px; }
.car-arrow.next { right: -70px; }
.car-dots { display: flex; gap: 8px; margin-top: 22px; }
.car-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: width 0.3s, background 0.3s; }
.car-dots button.on { width: 28px; background: var(--gradient); }
.car-caption { margin-top: 12px; font-weight: 700; color: var(--text-2); font-size: 15px; min-height: 24px; text-align: center; transition: opacity 0.3s; }
.phone:focus-visible { outline: 3px solid var(--primary); outline-offset: 6px; }

/* Extra mock pieces */
.amt { font-weight: 800; font-size: 12.5px; color: #171a2b; white-space: nowrap; }
.amt.warn { color: #c2700c; }
.amt.adv { color: #3b42c4; }
.amt.ok { color: #16a34a; }
.pay-btn { background: linear-gradient(135deg, #4e5ad8, #2a2d8c); color: #fff; font-weight: 700; font-size: 10.5px; padding: 5px 10px; border-radius: 999px; margin-left: 2px; }
.ex-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #eceefd; flex-shrink: 0; font-size: 14px; }
.ex-ic.work { background: #e8f0fd; }
.sum-card.green { background: linear-gradient(135deg, #22a355, #14632f); }
.role-chip.worker { color: #15803d !important; }
.role-chip.worker i { background: #15803d; }
.mock-section { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: #62687f; margin: 4px 2px 8px; }
.w-row.rem { padding: 11px 10px; }
.w-row small.time { display: inline-block; margin-top: 3px; background: #eceefd; color: #3b42c4; font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: 10px; }
.toggle { width: 34px; height: 20px; border-radius: 999px; background: #e3e6f0; position: relative; flex-shrink: 0; }
.toggle i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: left 0.2s; }
.toggle.on { background: #4f5bd5; }
.toggle.on i { left: 16px; }
.mock-note { color: #8a8fa5; font-size: 10.5px; margin: 6px 4px 0; line-height: 1.4; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -14px; padding: 6px 14px 12px; }
.app-head b { display: block; font-size: 17px; font-family: var(--display); }
.app-head span { color: #62687f; font-size: 11px; }
.role-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border-radius: 999px; padding: 4px 9px 4px 4px; font-weight: 700; color: #3b42c4 !important; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }
.role-chip i { width: 16px; height: 16px; border-radius: 50%; background: #3b42c4; }
.sum-card { background: linear-gradient(135deg, #4e5ad8, #2a2d8c); color: #fff; border-radius: 18px; padding: 14px; margin-bottom: 10px; position: relative; overflow: hidden; }
.sum-card::after { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); top: -50px; right: -30px; }
.sum-label { font-size: 11px; opacity: 0.85; font-weight: 600; }
.sum-amt { display: block; font-size: 26px; font-weight: 800; font-family: var(--display); margin: 2px 0 8px; }
.sum-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sum-boxes div { background: rgba(255, 255, 255, 0.16); border-radius: 10px; padding: 6px 8px; }
.sum-boxes span { display: block; font-size: 9.5px; opacity: 0.85; }
.sum-boxes b { font-size: 13px; }
.w-row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 9px 10px; margin-bottom: 7px; box-shadow: 0 1px 3px rgba(23, 26, 43, 0.06); }
.w-row > div:nth-child(2) { flex: 1; min-width: 0; }
.w-row b { display: block; font-size: 12.5px; }
.w-row small { color: #8a8fa5; font-size: 10px; }
.av { --h: 230; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: hsl(var(--h) 70% 93%); color: hsl(var(--h) 45% 35%); font-weight: 800; font-size: 11px; }
.chips { display: flex; gap: 4px; }
.chips i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 10px; color: #8a8fa5; border: 1.5px solid #e3e6f0; }
.chips i.on.p { background: #16a34a; border-color: #16a34a; color: #fff; }
.chips i.on.h { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.chips i.on.a { background: #dc2626; border-color: #dc2626; color: #fff; }
.tabbar { display: flex; justify-content: space-around; margin: 10px -14px 0; padding: 12px 6px 18px; background: linear-gradient(135deg, #4e5ad8, #2a2d8c); border-radius: 20px 20px 0 0; }
.tabbar span { color: rgba(255, 255, 255, 0.7); font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 999px; }
.tabbar span.on { background: #fff; color: #3b42c4; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 13.5px; }
.float small { color: var(--text-3); font-size: 12px; }
.f-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; }
.f-ic.ok { background: var(--green-l); color: var(--green); }
.f-ic.pay { background: var(--primary-light); color: var(--primary-dark); }
.f-ic.bell { background: var(--amber-l); }
.f1 { top: -2%; left: -12%; }
.f2 { top: 50%; right: -16%; animation-delay: -2s; }
.f3 { bottom: 4%; left: -10%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Languages marquee ---------- */
.langs { padding: 26px 0 40px; text-align: center; }
.langs p { color: var(--text-3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 32s linear infinite; }
.track span { padding: 10px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 17px; color: var(--text); box-shadow: var(--shadow-sm); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary-dark); background: var(--primary-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.kicker.light { background: rgba(255, 255, 255, 0.16); color: #fff; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head p { color: var(--text-2); font-size: 18px; margin-top: 16px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.b-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.b-wide { grid-column: span 2; }
.b-tall { grid-row: span 2; }
.b-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--primary-light); margin-bottom: 18px; }
.b-ic.wa { background: #25a55f; }
.b-ic.wa svg { width: 26px; height: 26px; fill: #fff; }
.b-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.b-card p { color: var(--text-2); font-size: 15px; }
.b-demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.d-chip { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.d-chip.p { background: var(--green-l); color: var(--green); }
.d-chip.h { background: var(--amber-l); color: var(--amber); }
.d-chip.a { background: var(--red-l); color: var(--red); }
.d-chip.o { background: var(--primary-light); color: var(--primary-dark); }
.rem-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.rem-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg-tint); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.rem-list b { font-size: 12px; color: var(--primary-dark); background: var(--primary-light); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.b-accent { background: var(--gradient); border: 0; color: #fff; }
.b-accent p { color: rgba(255, 255, 255, 0.86); }
.b-accent .b-ic { background: rgba(255, 255, 255, 0.18); }
.swatches { display: flex; gap: 10px; margin-top: 18px; }
.swatches i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 3px solid rgba(255, 255, 255, 0.85); }

/* ---------- Roles ---------- */
.role-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 6px; width: max-content; box-shadow: var(--shadow); }
.role-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-weight: 700; font-size: 16px; padding: 12px 26px; border-radius: 13px; cursor: pointer; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.role-tabs button.on { background: var(--gradient); color: #fff; box-shadow: var(--glow); }
.role-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 44px; box-shadow: var(--shadow); }
.role-panel[hidden] { display: none; }
.role-copy h3 { font-size: 28px; font-weight: 800; margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { position: relative; padding-left: 38px; color: var(--text-2); font-size: 16px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-l); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ticks b { color: var(--text); }
.role-visual { display: flex; justify-content: center; }
.mini-card { width: 100%; max-width: 360px; background: var(--bg-tint); border: 1px solid var(--border); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.mini-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mini-top > div { flex: 1; }
.mini-top b { display: block; }
.mini-top small { color: var(--text-3); }
.mini-top .av { width: 42px; height: 42px; font-size: 14px; }
.tag { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.tag.warn { background: var(--amber-l); color: var(--amber); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-grid div { background: var(--surface); border-radius: 14px; padding: 12px; border: 1px solid var(--border); }
.mini-grid small { display: block; color: var(--text-3); font-size: 12px; }
.mini-grid b { font-family: var(--display); font-size: 20px; }
.mini-btn { width: 100%; margin-top: 14px; border: 0; border-radius: 14px; padding: 13px; font: inherit; font-weight: 700; color: #fff; }
.mini-btn.wa { background: #25a55f; }
.mini-card.grad { background: var(--gradient); color: #fff; border: 0; }
.mini-card.grad > small { opacity: 0.85; font-weight: 600; }
.mini-card .big { display: block; font-family: var(--display); font-size: 42px; margin: 4px 0 16px; }
.mini-grid.light div { background: rgba(255, 255, 255, 0.16); border: 0; }
.mini-grid.light small { color: rgba(255, 255, 255, 0.8); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; }
.step-no { width: 52px; height: 52px; border-radius: 16px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: var(--glow); margin-bottom: 20px; }
.step h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-2); }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #2a2d8c, #1b1d5e); color: #fff; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.trust::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 240, 0.45), transparent 70%); right: -120px; top: -160px; }
.trust h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.trust-copy p { color: rgba(255, 255, 255, 0.82); font-size: 17px; margin-top: 14px; }
.trust-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.trust-points li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; backdrop-filter: blur(6px); }
.trust-points span { font-size: 24px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 24px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, border-color 0.2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; font-size: 18px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 22px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; background: var(--gradient); color: #fff; border-radius: 36px; padding: 72px 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%), radial-gradient(500px 300px at 90% 100%, rgba(123, 92, 240, 0.5), transparent 60%); }
.cta > * { position: relative; }
.cta img { border-radius: 20px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; max-width: 720px; }
.cta p { color: rgba(255, 255, 255, 0.86); font-size: 18px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-tint); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 14px; max-width: 340px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 14px; }
.site-footer .footer-grid a:not(.brand) { display: block; color: var(--text-2); font-size: 15px; margin-bottom: 10px; }
.site-footer .footer-grid a:not(.brand):hover { color: var(--primary-dark); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .float, .track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-tall { grid-row: span 1; }
}
@media (max-width: 960px) {
  .car-arrow.prev { left: -56px; }
  .car-arrow.next { right: -56px; }
  .nav-links, .header-cta, .header-signin { display: none; }
  .nav-toggle { display: inline-grid; }
  .mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
  .mobile-nav.open { max-height: 420px; padding: 8px 24px 20px; }
  .mobile-nav a:not(.btn) { padding: 12px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
  .mobile-nav .btn { margin-top: 10px; }
  .header-inner { justify-content: space-between; }
  .hero { padding: 44px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .lead { margin: 0 auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .role-panel, .trust { grid-template-columns: 1fr; padding: 32px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: span 1; }
  .phone { width: 270px; transform: none; }
  .screen { height: 540px; }
  .car-arrow { top: 260px; width: 38px; height: 38px; }
  .car-arrow.prev { left: -14px; }
  .car-arrow.next { right: -14px; }
  .float { display: none; }
  .float { padding: 8px 10px; }
  .float b { font-size: 12px; }
  .role-tabs { width: 100%; }
  .role-tabs button { flex: 1; justify-content: center; padding: 12px; }
  .role-panel, .trust { padding: 24px; border-radius: 24px; }
  .trust-points { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 52px 20px; border-radius: 28px; }
  .brand span { font-size: 18px; }
}

/* ---------- Icons (inline SVG line icons) ---------- */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.b-ic { position: relative; color: #fff; box-shadow: 0 10px 22px -8px var(--tone-shadow, rgba(79, 91, 213, 0.6)), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.b-ic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 55%); pointer-events: none; }
.b-ic .ic { width: 24px; height: 24px; stroke-width: 2; position: relative; z-index: 1; }
.t-indigo { background: linear-gradient(135deg, #6a74ea, #3b42c4); --tone-shadow: rgba(59, 66, 196, 0.6); }
.t-green { background: linear-gradient(135deg, #34c27a, #138a4c); --tone-shadow: rgba(19, 138, 76, 0.55); }
.t-amber { background: linear-gradient(135deg, #f7b545, #d9750b); --tone-shadow: rgba(217, 117, 11, 0.55); }
.t-violet { background: linear-gradient(135deg, #a78bfa, #6d3fd8); --tone-shadow: rgba(109, 63, 216, 0.55); }
.t-slate { background: linear-gradient(135deg, #5b6382, #2c3150); --tone-shadow: rgba(44, 49, 80, 0.55); }
.t-blue { background: linear-gradient(135deg, #5aa8f8, #2563eb); --tone-shadow: rgba(37, 99, 235, 0.55); }
.t-rose { background: linear-gradient(135deg, #fb7aa0, #db2763); --tone-shadow: rgba(219, 39, 99, 0.5); }
.b-accent .b-ic.t-glass { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.b-ic.wa { box-shadow: 0 10px 22px -8px rgba(37, 165, 95, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.role-tabs button .ic { width: 20px; height: 20px; }
.t-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.trust-points span.t-ic { font-size: 0; }
.f-ic .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.f-ic.bell { color: var(--amber); }
.ex-ic { color: #3b42c4; }
.ex-ic .ic { width: 16px; height: 16px; stroke-width: 2; }
.ex-ic.work { color: #2563eb; }

/* ---------- Language picker ---------- */
.lang-picker { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color 0.15s; }
.lang-btn:hover, .lang-btn[aria-expanded='true'] { border-color: var(--primary); color: var(--primary-dark); }
.lang-btn .ic { width: 18px; height: 18px; }
.lang-btn .chev { width: 15px; height: 15px; transition: transform 0.2s; }
.lang-btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 8px; width: 240px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); animation: menuIn 0.16s ease-out; }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 12px; cursor: pointer; line-height: 1.25; transition: background 0.12s; }
.lang-menu li b { font-size: 15px; color: var(--text); }
.lang-menu li small { font-size: 11px; color: var(--text-3); }
.lang-menu li:hover, .lang-menu li:focus-visible { background: var(--primary-muted); outline: none; }
.lang-menu li[aria-selected='true'] { background: var(--gradient); }
.lang-menu li[aria-selected='true'] b, .lang-menu li[aria-selected='true'] small { color: #fff; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .lang-btn span { display: none; }
  .lang-btn { padding: 0 10px; }
  .lang-menu { right: -60px; }
}
