/* Ferna PDF Reader – website styles (no JavaScript used anywhere on the site) */
:root {
  --navy: #0f172a; --navy-2: #111c36; --slate: #1e293b; --line: #263453;
  --text: #e2e8f0; --muted: #94a3b8; --blue: #3b82f6; --cyan: #22d3ee;
  --orange: #f59e0b; --coffee: #ffdd00; --coffee-ink: #1b1300;
  --radius: 18px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--navy); color: var(--text);
  font: 17px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Sinhala", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 23, 42, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
nav.links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
nav.links a { color: var(--text); text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--cyan); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #2563eb, #22d3ee); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .35); }
.btn-ghost { border-color: #3b4c72; color: #fff; }
.btn-coffee { background: var(--coffee); color: var(--coffee-ink); box-shadow: 0 10px 24px rgba(255, 221, 0, .25); }
nav.links .btn-coffee { padding: 9px 18px; font-size: 14px; color: var(--coffee-ink); }
nav.links .btn-coffee:hover { color: var(--coffee-ink); }

/* hero */
.hero {
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(700px 500px at 5% 0%, rgba(99, 102, 241, .25), transparent 60%);
  padding: 72px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(34, 211, 238, .12); color: var(--cyan); font-weight: 600; font-size: 14px; letter-spacing: .5px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 16px 0 18px; color: #fff; letter-spacing: -1px; }
h1 span { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: #cbd5e1; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.browsers { margin-top: 26px; color: var(--muted); font-size: 15px; }
.browsers b { color: #fff; font-weight: 600; }
.hero-art img { width: 100%; max-width: 440px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }

/* support band */
.support { padding: 8px 0 24px; }
.support-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: linear-gradient(135deg, #fff7c2, #ffdd00); color: var(--coffee-ink);
  border-radius: 24px; padding: 26px 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.support-card .cup { font-size: 54px; line-height: 1; }
.support-card h2 { margin: 0 0 4px; font-size: 24px; }
.support-card p { margin: 0; font-size: 16px; color: #3d3000; }
.support-card .btn { background: var(--coffee-ink); color: var(--coffee); }

/* sections */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 8px; color: #fff; letter-spacing: -.5px; }
.section-title p { color: var(--muted); margin: 0 auto; max-width: 640px; }
.alt { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .text { order: 2; }
.feature .tag { color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.feature h3 { font-size: 28px; margin: 6px 0 12px; color: #fff; line-height: 1.2; }
.feature p { color: #cbd5e1; margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 20px; color: #cbd5e1; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

/* small cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ic { font-size: 30px; }
.card h4 { margin: 10px 0 6px; font-size: 18px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* install */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.install .card { display: flex; flex-direction: column; }
.install .card p { flex: 1; margin-bottom: 18px; }
.badge-soon { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 2px dashed #3b4c72; color: var(--muted); font-weight: 600; font-size: 15px; text-align: center; }
.steps { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.banner { border-radius: 24px; overflow: hidden; margin-bottom: 40px; border: 1px solid var(--line); }

/* privacy */
.policy { max-width: 760px; margin: 0 auto; background: var(--slate); border: 1px solid var(--line); border-radius: 24px; padding: 36px 40px; }
.policy h2 { margin-top: 0; color: #fff; }
.policy ul { padding-left: 22px; }
.policy .note { color: var(--muted); font-size: 14px; margin-bottom: 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--cyan); }

/* privacy page */
.page { padding: 56px 0 72px; }
.page .back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; }

/* responsive */
@media (max-width: 900px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .text { order: 0; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 280px; }
  .grid, .install { grid-template-columns: 1fr 1fr; }
  .support-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  nav.links a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .grid, .install { grid-template-columns: 1fr; }
  .policy { padding: 26px 22px; }
  .brand span { display: none; }
}
