:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #e3e8f2;
  --brand: #315efb;
  --brand-strong: #2447c7;
  --brand-soft: #e9eeff;
  --accent: #11a68a;
  --dark: #101828;
  --shadow-sm: 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(75, 111, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 94% 22%, rgba(17, 166, 138, 0.10), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); font-weight: 650; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.25rem 1.25rem clamp(3.8rem, 8vw, 6.5rem);
  background:
    radial-gradient(circle at 22% 12%, rgba(105, 137, 255, 0.46), transparent 23rem),
    radial-gradient(circle at 81% 88%, rgba(20, 194, 158, 0.24), transparent 24rem),
    linear-gradient(135deg, #101828 0%, #182844 52%, #13243b 100%);
  color: #fff;
  text-align: center;
}

.hero::before, .hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  content: "";
}
.hero::before { width: 34rem; height: 34rem; top: -27rem; right: -12rem; }
.hero::after { width: 22rem; height: 22rem; bottom: -17rem; left: -7rem; }

.topbar {
  display: flex;
  width: min(100%, 1180px);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo { display: block; width: min(122px, 31vw); filter: drop-shadow(0 8px 16px rgba(0,0,0,.2)); }

.language-toggle, .text-button {
  display: inline-flex;
  min-height: 42px;
  padding: .6rem .9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  color: var(--dark);
  font: inherit;
  font-size: .9rem;
  font-weight: 720;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.language-toggle:hover, .text-button:hover { color: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }

.hero-content { width: min(100%, 760px); margin: clamp(3rem, 7vw, 5.5rem) auto 0; }
.app-icon { display: block; width: clamp(80px, 12vw, 112px); height: auto; margin: 0 auto 1.35rem; border: 1px solid rgba(255,255,255,.72); border-radius: 25%; box-shadow: 0 16px 32px rgba(0,0,0,.25); }
.eyebrow { display: inline-flex; margin-bottom: 1rem; padding: .3rem .8rem; border: 1px solid rgba(202, 216, 255, .38); border-radius: 999px; background: rgba(19, 37, 65, .42); color: #dbe5ff; font-size: .82rem; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
h1 { margin: 0; color: #fff; font-size: clamp(2.65rem, 7vw, 5.1rem); font-weight: 760; letter-spacing: -.065em; line-height: .98; }
.hero-copy { max-width: 610px; margin: 1.1rem auto 0; color: #d8e2f2; font-size: clamp(1.05rem, 2vw, 1.22rem); }

main { width: min(100% - 2.5rem, 960px); margin: clamp(2rem, 5vw, 5rem) auto; }
.content-card { padding: clamp(1.5rem, 4vw, 2.7rem); border: 1px solid rgba(227,232,242,.9); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); }
.content-card + .content-card { margin-top: 1.4rem; }
.content-card h2 { margin: 0 0 1rem; color: var(--text); font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.045em; line-height: 1.15; }
.content-card h2::after { display: block; width: 44px; height: 4px; margin-top: .85rem; border-radius: 99px; background: var(--accent); content: ""; }
.content-card p { margin: 0 0 1.1rem; color: var(--muted); }
.content-card p:last-child { margin-bottom: 0; }
strong { color: var(--text); }

.store-card { margin-top: 1.8rem; padding: 1.35rem; border: 1px solid #d9e4ff; border-radius: 16px; background: linear-gradient(135deg, #f6f8ff, #f1fbf8); text-align: center; }
.store-card p { margin-bottom: 1rem; color: #42516a; font-weight: 650; }
.store-banner { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.store-banner a { display: inline-flex; border-radius: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.store-banner a:hover { transform: translateY(-3px); box-shadow: 0 10px 18px rgba(16,24,40,.15); }
.store-banner img { display: block; height: 46px; }
.legal-links { margin-top: 1.55rem !important; color: var(--muted); text-align: center; font-size: .94rem; }
.hidden { display: none !important; }

footer { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; background: var(--dark); color: #cbd5e1; text-align: center; }
footer::before { position: absolute; top: -13rem; left: 50%; width: 28rem; height: 28rem; border: 1px solid rgba(157,180,255,.12); border-radius: 50%; content: ""; transform: translateX(-50%); }
footer div { position: relative; }
footer a { color: #afc5ff; }

@media (max-width: 620px) {
  .hero { padding-right: 1rem; padding-left: 1rem; }
  .topbar { align-items: flex-start; }
  .brand-logo { width: 104px; }
  .hero-content { margin-top: 3.5rem; }
  main { width: min(100% - 1.25rem, 960px); margin-top: 1.5rem; margin-bottom: 2.75rem; }
  .content-card { padding: 1.3rem; border-radius: 17px; }
  .store-banner { align-items: stretch; flex-direction: column; }
  .store-banner a { justify-content: center; }
}
