:root {
  --bg: #f7f8ff;
  --surface: #ffffff;
  --surface-soft: #eef0ff;
  --text: #181a2a;
  --muted: #666b85;
  --primary: #6d73e6;
  --primary-dark: #555bc9;
  --border: #dfe2f2;
  --shadow: 0 18px 55px rgba(64, 72, 150, 0.12);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Urbanist", "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(109, 115, 230, 0.14), transparent 34rem),
    var(--bg);
  line-height: 1.65;
}

a { color: var(--primary-dark); }

img { max-width: 100%; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 255, 0.86);
  border-bottom: 1px solid rgba(223, 226, 242, 0.85);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #8a8ff6, #5d63d8);
  box-shadow: 0 10px 24px rgba(93, 99, 216, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary-dark);
}

.lang-select {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 12px;
  font: inherit;
}

.hero {
  padding: 92px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface-soft);
  font-weight: 750;
  font-size: 0.9rem;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #7d82ef, #5b61d5);
  box-shadow: 0 13px 30px rgba(91, 97, 213, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #7378e8, #5056c4);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.app-preview {
  min-height: 440px;
  border-radius: 38px;
  padding: 26px;
  background: linear-gradient(155deg, #ffffff, #e8eaff);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
}

.app-preview::before,
.app-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.app-preview::before {
  width: 180px;
  height: 180px;
  background: rgba(122, 128, 239, .24);
  right: -45px;
  top: -38px;
}

.app-preview::after {
  width: 150px;
  height: 150px;
  background: rgba(142, 210, 198, .2);
  left: -50px;
  bottom: -45px;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(260px, 88%);
  margin: 0 auto;
  border-radius: 34px;
  padding: 18px;
  background: #191b2c;
  box-shadow: 0 24px 50px rgba(35, 40, 89, .3);
}

.phone-screen {
  min-height: 370px;
  border-radius: 25px;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(130, 135, 240, .35), transparent 8rem),
    #f7f8ff;
}

.balance-label {
  color: var(--muted);
  font-size: .82rem;
}

.balance {
  margin: 3px 0 18px;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.mini-card {
  padding: 15px;
  margin-top: 12px;
  border-radius: 17px;
  background: white;
  box-shadow: 0 9px 22px rgba(71, 79, 155, .1);
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: #e6e8f7;
  overflow: hidden;
  margin-top: 9px;
}

.bar span {
  display: block;
  height: 100%;
  width: 67%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7b81ee, #9fa3fb);
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(55, 61, 132, 0.07);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 17px;
  background: var(--surface-soft);
  font-size: 1.35rem;
}

.card p,
.muted {
  color: var(--muted);
}

.callout {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #676de0, #8186ee);
  color: white;
  box-shadow: 0 22px 50px rgba(91, 97, 213, .28);
}

.callout p { color: rgba(255,255,255,.84); }

.callout .button-secondary {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: white;
}

.page-hero {
  padding: 74px 0 40px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  position: sticky;
  top: 100px;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.contact-item {
  padding: 15px;
  border-radius: 15px;
  background: var(--surface-soft);
}

details {
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
}

details:first-child {
  border-top: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding-right: 28px;
  position: relative;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

details[open] summary::after { content: "–"; }

details p,
details ol,
details ul {
  color: var(--muted);
}

.prose {
  max-width: 850px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(55, 61, 132, .07);
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 34px;
}

.prose h2:first-child { margin-top: 0; }

.prose li { margin: 7px 0; }

.notice {
  padding: 15px 17px;
  border-radius: 14px;
  background: #fff8da;
  border: 1px solid #f0df92;
  color: #6e5c18;
}

.site-footer {
  margin-top: 66px;
  padding: 34px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.small { font-size: .92rem; }

@media (max-width: 900px) {
  .hero-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .contact-card { position: static; }
}

@media (max-width: 680px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-links a { font-size: .92rem; }
  .hero { padding-top: 62px; }
  .cards { grid-template-columns: 1fr; }
  .app-preview { min-height: 400px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: 54px; }
  .prose { padding: 24px; }
}
