/* BolNote marketing site. Brand tokens match the app (ui/theme/Color.kt). */
@font-face { font-family: "BolNote Nastaliq"; src: url("/assets/nastaliq.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #1a5cff; --violet: #4b2bf5; --cyan: #18c4ff; --ink: #0b1220;
  --bg: #f3f5f9; --card: #ffffff; --text: #0b1220; --muted: #5b6680; --line: #e4e8f1;
  --glass: rgba(255, 255, 255, .72); --shadow: 0 18px 50px -18px rgba(27, 42, 74, .28);
  --grad: linear-gradient(135deg, var(--violet), var(--blue) 55%, var(--cyan));
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090f; --card: #12151d; --text: #eef1f8; --muted: #9aa4bd; --line: #232835;
    --glass: rgba(27, 33, 48, .6); --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ambient glows */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow::before { width: 520px; height: 520px; background: #d9ccff; left: -160px; top: -160px; }
.glow::after { width: 560px; height: 560px; background: #c8eeff; right: -200px; top: 60px; }
@media (prefers-color-scheme: dark) { .glow::before { background: #261a5c; } .glow::after { background: #0c2a3a; } }

/* Header */
header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--blue); font-weight: 800; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(26, 92, 255, .7); }
.btn-ghost { background: var(--glass); color: var(--text); border-color: var(--line); }
.btn-store { background: #0b1220; color: #fff; padding: 10px 18px; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.1; }
.btn-store span { display: block; font-size: 16px; line-height: 1.2; }
@media (prefers-color-scheme: dark) { .btn-store { background: #fff; color: #0b1220; } }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--blue); }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 16px; font-weight: 800; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.note { font-size: 13px; color: var(--muted); }

/* Phone mockups (pure CSS) */
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; height: 510px; border-radius: 40px; background: #0b1220; padding: 10px; box-shadow: 0 40px 80px -30px rgba(27, 42, 74, .55); }
.phone .screen { width: 100%; height: 100%; border-radius: 31px; background: #f6f8fc; overflow: hidden; position: relative; color: #0b1220; font-size: 11px; }
.phone .notch { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 84px; height: 22px; background: #0b1220; border-radius: 12px; z-index: 2; }
.p1 { left: 0; top: 30px; transform: rotate(-6deg); }
.p2 { right: 0; top: 0; transform: rotate(5deg); }
.scr-pad { padding: 44px 16px 16px; }
.scr-title { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.scr-title img { width: 20px; height: 20px; border-radius: 5px; }
.mic { width: 108px; height: 108px; border-radius: 50%; margin: 34px auto 14px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 0 18px rgba(26, 92, 255, .10), 0 0 0 36px rgba(26, 92, 255, .06); }
.mic svg { width: 46px; height: 46px; fill: #fff; }
.center { text-align: center; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 46px; margin: 22px 0 8px; }
.wave i { width: 4px; border-radius: 3px; background: var(--grad); animation: wv 1.1s ease-in-out infinite; }
@keyframes wv { 50% { transform: scaleY(.45); } }
.timer { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.stop { width: 44px; height: 44px; border-radius: 50%; background: #ff3b30; margin: 14px auto 0; display: grid; place-items: center; }
.stop i { width: 14px; height: 14px; background: #fff; border-radius: 3px; }
.card { background: #fff; border-radius: 14px; padding: 10px 12px; margin-top: 10px; box-shadow: 0 6px 18px -10px rgba(27, 42, 74, .35); }
.card h5 { margin: 0 0 4px; font-size: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.card p { margin: 0; line-height: 1.5; }
.ur { direction: rtl; font-family: "BolNote Nastaliq", "Noto Nastaliq Urdu", serif; font-size: 13px; line-height: 2.1; }
.chips { display: flex; gap: 6px; margin-top: 12px; }
.chip { padding: 4px 10px; border-radius: 999px; background: #e9efff; color: var(--blue); font-weight: 600; font-size: 10px; }
.chip.on { background: var(--blue); color: #fff; }
.card ul { margin: 0; padding-left: 16px; }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 28px 0 8px; }
.strip div { text-align: center; font-size: 14px; font-weight: 600; }
.ico { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 12%, transparent); }
.ico svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
section { padding: 72px 0; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.12; margin: 8px 0 12px; }
.sub { color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.center .sub { margin-left: auto; margin-right: auto; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; }
.step .num { font-weight: 800; color: var(--blue); font-size: 14px; background: color-mix(in srgb, var(--blue) 12%, transparent); border-radius: 10px; padding: 4px 10px; display: inline-block; }
.step h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 22px; }
.feature h3 { font-size: 16px; margin: 12px 0 4px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature .ico { margin: 0; width: 44px; height: 44px; border-radius: 13px; }
.feature .ico svg { width: 22px; height: 22px; }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.who ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.who li { display: flex; gap: 14px; align-items: flex-start; }
.who li b { display: block; }
.who li span { color: var(--muted); font-size: 15px; }
.who .ico { margin: 0; flex: none; width: 40px; height: 40px; border-radius: 12px; }
.who .ico svg { width: 20px; height: 20px; }
.quote { padding: 28px; }
.quote .ur { font-size: 17px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
.plan { padding: 30px; position: relative; }
.plan.pro { border: 2px solid var(--blue); }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #17935a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--blue); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot h4 { margin: 0 0 10px; font-size: 14px; }
.foot a { display: block; color: var(--muted); font-size: 14px; margin: 6px 0; }
.foot p { color: var(--muted); font-size: 14px; margin: 10px 0 0; max-width: 340px; }
.copy { color: var(--muted); font-size: 13px; margin-top: 28px; }

@media (max-width: 900px) {
  .hero-grid, .who { grid-template-columns: 1fr; }
  .phones { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .phone { width: 210px; height: 430px; }
  .phones { height: 470px; }
}
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } html { scroll-behavior: auto; } }
