/* Sunny – Bangla explainer site. Neon night theme matching the app. */
:root {
  --bg0: #0b0726;
  --bg1: #170b4a;
  --ink: #f6f3ff;
  --ink-soft: #c3bcef;
  --ink-dim: #8a82c2;
  --cyan: #22e4ff;
  --pink: #ff3fd2;
  --lime: #9dff3a;
  --yellow: #ffe23f;
  --purple: #9b5cff;
  --line: rgba(255, 255, 255, 0.14);
  --glow-cyan: 0 0 8px rgba(34, 228, 255, .8), 0 0 24px rgba(34, 228, 255, .45);
  --glow-pink: 0 0 8px rgba(255, 63, 210, .85), 0 0 26px rgba(255, 63, 210, .45);
  --glow-lime: 0 0 8px rgba(157, 255, 58, .85), 0 0 24px rgba(157, 255, 58, .4);
  --glow-yellow: 0 0 8px rgba(255, 226, 63, .85), 0 0 24px rgba(255, 226, 63, .4);
  --radius: 24px;
  font-family: "Noto Serif Bengali", "Noto Serif", Georgia, serif;
  color: var(--ink);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg0); line-height: 1.75; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; } /* height:auto keeps screenshots in their real 1512×740 ratio */
a { color: var(--cyan); }
h1, h2, h3 { font-family: "Noto Serif Bengali", "Noto Serif", Georgia, serif; font-weight: 800; line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.en { font-family: "Noto Serif Bengali", Georgia, serif; }

/* Background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(1200px 800px at 15% 10%, #2a1170 0%, transparent 60%),
              radial-gradient(1000px 700px at 90% 90%, #0d3d6e 0%, transparent 60%),
              linear-gradient(160deg, var(--bg1), var(--bg0) 70%); }
.blob { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(80px); opacity: .32; animation: drift 24s ease-in-out infinite alternate; }
.b1 { background: var(--pink); left: -16vmax; top: -18vmax; }
.b2 { background: var(--cyan); right: -18vmax; bottom: -20vmax; animation-duration: 28s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.1); } }

/* Layout */
.wrap { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 84px 0; }
.kicker { display: inline-block; font-weight: 700; color: var(--cyan); letter-spacing: .04em; margin-bottom: 6px; text-shadow: 0 0 10px rgba(34,228,255,.5); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.panel { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1.5px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(12px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,7,38,.72); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.logo { font-family: "Noto Serif Bengali", Georgia, serif; font-weight: 800; font-size: 1.6rem; text-decoration: none; color: #fff; }
.logo span { color: var(--pink); text-shadow: var(--glow-pink); }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.05rem; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--bg0); background: linear-gradient(90deg, var(--yellow), #ff8a3d, var(--pink)); box-shadow: 0 0 18px rgba(255,138,61,.6), 0 0 40px rgba(255,63,210,.35); }
.btn-ghost { color: #fff; border: 1.5px solid var(--line); background: rgba(255,255,255,.06); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }

/* Hero */
.hero { padding: 70px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1 .glow { color: var(--pink); text-shadow: var(--glow-pink); }
.hero h1 .glow2 { color: var(--cyan); text-shadow: var(--glow-cyan); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; list-style: none; margin: 0; }
.badges li { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; }
.shot { border-radius: 18px; border: 2px solid rgba(34,228,255,.5); box-shadow: 0 0 30px rgba(34,228,255,.25), 0 30px 60px -20px rgba(0,0,0,.7); }
.hero .shot { transform: rotate(1.2deg); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Problem / why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.why-card { padding: 22px; }
.why-card .num { font-family: "Noto Serif Bengali", Georgia, serif; font-size: 2.4rem; font-weight: 800; color: var(--yellow); text-shadow: var(--glow-yellow); line-height: 1; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.feature { padding: 22px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; font-weight: 800; }
.feature .ic svg { width: 26px; height: 26px; fill: currentColor; }
.ic-c { background: rgba(34,228,255,.15); color: var(--cyan); }
.ic-p { background: rgba(255,63,210,.15); color: var(--pink); }
.ic-l { background: rgba(157,255,58,.15); color: var(--lime); }
.ic-y { background: rgba(255,226,63,.15); color: var(--yellow); }
.feature p { margin: 0; color: var(--ink-soft); }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Lesson flow */
.flow { display: grid; gap: 14px; margin-top: 28px; counter-reset: step; }
.flow li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 18px 20px; }
.flow li::before { counter-increment: step; content: counter(step, bengali); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Noto Serif Bengali", Georgia, serif; font-weight: 800; font-size: 1.4rem; color: var(--bg0); background: var(--cyan); box-shadow: var(--glow-cyan); }
.flow li:nth-child(even)::before { background: var(--pink); box-shadow: var(--glow-pink); color: #fff; }
.flow h3 { margin: 0 0 4px; }
.flow p { margin: 0; color: var(--ink-soft); }

/* Split rows with screenshots */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 56px; }
.split.rev .split-text { order: 2; }
.split ul { padding-left: 1.2em; color: var(--ink-soft); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-text { order: 0; } }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-top: 18px; overflow: hidden; border-radius: 16px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--cyan); font-weight: 700; background: rgba(34,228,255,.06); }
tbody tr:hover { background: rgba(255,255,255,.03); }
.table-wrap { overflow-x: auto; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; color: var(--ink-soft); font-weight: 600; }
.gallery a { display: block; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* Install */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.mode { padding: 24px; }
.mode .tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.tag-home { background: rgba(157,255,58,.18); color: var(--lime); }
.tag-online { background: rgba(255,226,63,.16); color: var(--yellow); }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }
.steps { margin-top: 26px; display: grid; gap: 16px; }
.step { padding: 20px 22px; }
.step h3 { display: flex; gap: 12px; align-items: center; }
.step h3 b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--bg0); font-size: 1rem; box-shadow: var(--glow-lime); flex: none; }
pre { margin: 10px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.45); border: 1px solid var(--line); overflow-x: auto; color: #e9e5ff; font-size: .95rem; line-height: 1.6; }
.note { padding: 14px 18px; border-radius: 16px; background: rgba(255,226,63,.08); border: 1.5px solid rgba(255,226,63,.45); color: var(--ink); margin-top: 18px; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.privacy-grid .panel { padding: 20px; }
.privacy-grid h3 { color: var(--lime); }
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; } }

/* FAQ */
details { padding: 16px 20px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

/* CTA + footer */
.cta { text-align: center; padding: 50px 24px; margin-top: 10px; }
.cta h2 { margin-bottom: 10px; }
footer { padding: 30px 0 50px; color: var(--ink-dim); text-align: center; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) { .blob { animation: none; } html { scroll-behavior: auto; } }

/* Install: not released yet */
.soon { margin-top: 22px; padding: 26px 28px; text-align: center; border: 2px dashed rgba(255,226,63,.6); }
.soon .lead { margin: 12px auto 0; }
.soon-badge { display: inline-block; padding: 8px 20px; border-radius: 999px; font-family: "Noto Serif Bengali", Georgia, serif; font-weight: 800; font-size: 1.2rem;
  color: var(--bg0); background: var(--yellow); box-shadow: var(--glow-yellow); }
