/* everbud.app shared styles (Quiet Garden). Used by index.html and premium.html. */
:root {
  --bg: #F4F6F2; --ink: #13201A; --sub: #46544D; --line: #E3E9E4; --chip: #EDF1EE;
  --accent: #0A8560; --deep: #076B47; --mint: #23CE97; --mint-soft: #E3F4EB;
  --night: #0F2A20; --on-night: #EAF7F0; --on-night-sub: rgba(234,247,240,.72);
  --device: #101814; --coral: #A63F26;
}
* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Onest, 'Anek Bangla', system-ui, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5.6vw, 80px); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Language: every text is written as <span class="en"> + <span class="bn">; site.js sets html[lang] */
html:not([lang="bn"]) .bn, html[lang="bn"] .en { display: none !important; }

/* Launch switch (site.js sets html[data-play]); no JS = "coming soon" */
html:not([data-play="live"]) .if-live, html[data-play="live"] .if-soon { display: none !important; }
a[data-play-link]:not([href]) { cursor: default; }

/* Desktop-only / phone-only bits (LandingMobile drops some sections) */
@media (max-width: 760px) { .dsk { display: none !important; } }
@media (min-width: 761px) { .mob { display: none !important; } }

/* Nav */
.nav { height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 15.5px; font-weight: 600; color: var(--sub); }
.nav-links a { text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current] { font-weight: 800; }
.lang { background: none; border: 0; padding: 8px 4px; color: var(--ink); font-weight: 700; font-size: inherit; }
@media (max-width: 1100px) { .nav-links .opt { display: none; } }
@media (max-width: 760px) {
  .nav { height: 64px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand svg { width: 32px; height: 32px; }
  .lang { font-size: 14px; }
}

/* Buttons */
.btn { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-block { width: 100%; min-height: 58px; font-size: 16.5px; }

/* "Google Play" store badge */
.gp { display: inline-flex; gap: 12px; align-items: center; min-width: 200px; min-height: 58px; padding: 8px 16px; border-radius: 14px; background: var(--device); color: #fff; text-decoration: none; }
.gp svg { width: 24px; height: 26px; flex-shrink: 0; }
.gp-t { display: flex; flex-direction: column; line-height: 1.1; }
.gp-s { font-size: 10.5px; opacity: .8; letter-spacing: .6px; text-transform: uppercase; }
.gp-m { font-size: 19px; font-weight: 700; }

/* Android frame around a live app screen (--s = screen scale; 390x844 board) */
.phone { width: calc(390px * var(--s) + 20px); padding: 10px; border-radius: 46px; background: var(--device); box-shadow: 0 40px 80px rgba(15,42,32,.28); position: relative; flex-shrink: 0; }
.phone .scr { position: relative; width: calc(390px * var(--s)); height: calc(844px * var(--s)); border-radius: 37px; overflow: hidden; background: var(--bg); }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--s)); transform-origin: 0 0; pointer-events: none; }
.phone .scr::after { content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 6px; background: var(--device); }

/* Geometric star pattern behind a panel: set --pc (line colour) and --ps (tile size) */
.pat { position: relative; isolation: isolate; }
.pat::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M14 50L35 35L50 14L65 35L86 50L65 65L50 86L35 65Z' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") 0 0 / var(--ps) var(--ps);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M14 50L35 35L50 14L65 35L86 50L65 65L50 86L35 65Z' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") 0 0 / var(--ps) var(--ps); }

/* Footer */
.foot { position: relative; background: var(--night); color: var(--on-night-sub); font-size: 14.5px; }
.foot-main { padding-top: 90px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.foot-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; display: block; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand svg { width: 56px; height: 56px; flex-shrink: 0; }
.foot-brand b { display: block; font-size: 20px; font-weight: 800; color: var(--on-night); }
.foot-brand small { font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--on-night); }
.foot-legal { border-top: 1px solid rgba(234,247,240,.12); padding-top: 22px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12.5px; line-height: 1.7; }
.foot-pay { display: flex; flex-direction: column; gap: 8px; }
.foot-pay img { max-width: 360px; width: 100%; height: auto; border-radius: 8px; background: #fff; }
@media (max-width: 760px) {
  .foot-main { padding-top: 40px; padding-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-brand svg { width: 44px; height: 44px; }
  .foot-brand b { font-size: 18px; }
  .foot-brand small { display: none; }
  .foot-links { gap: 12px 18px; font-size: 14px; }
  .foot-legal { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
