:root {
  --text: #16181d;
  --muted: #666b76;
  --blue: #2f73ed;
  --blue-dark: #245bc0;
  --light-blue: #eaf1ff;
  --border: #e1e4ea;
  --surface: #f7f8fa;
  --green: #17b978;
  --orange: #e9952f;
  --purple: #8059df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.header { border-bottom: 1px solid var(--border); background: rgba(255,255,255,.96); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand strong { font-size: 14px; letter-spacing: 4px; }
.app-logo { width: 38px; height: 38px; display: grid; place-items: center; background: #f4f3ef; border: 1px solid #ebe9e3; border-radius: 12px; }
.app-logo > span { position: relative; width: 20px; height: 22px; display: block; background: var(--blue); border-radius: 3px 11px 11px 11px; }
.app-logo > span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 10px; height: 10px; background: #69a3ff; border-radius: 0 0 0 3px; }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a:hover { color: var(--blue); }
.header-button { padding: 10px 18px; color: #fff; background: var(--blue); border-radius: 8px; font-size: 14px; font-weight: 600; }

.hero { padding: 76px 0 80px; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 96px; align-items: center; }
.label { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 72px); line-height: 1.06; letter-spacing: -3px; }
.lead { max-width: 590px; margin: 0 0 30px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.free-points { margin: -8px 0 26px; display: flex; flex-wrap: wrap; gap: 9px 22px; color: #434852; font-size: 14px; }
.free-points span { display: inline-flex; align-items: center; gap: 7px; }
.free-points b { width: 19px; height: 19px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 11px; }
.download-row { display: flex; gap: 12px; }
.download-button { min-width: 180px; padding: 12px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--border); border-radius: 10px; transition: background .15s, transform .15s; }
.download-button:hover { transform: translateY(-2px); }
.download-button.primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.download-button.primary:hover { background: var(--blue-dark); }
.download-button.secondary { background: #fff; }
.download-button.secondary:hover { background: var(--surface); }
.button-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--blue); background: #fff; border-radius: 7px; font-size: 12px; font-weight: 800; }
.secondary .button-icon { color: #fff; background: var(--text); }
.download-button span:last-child { font-size: 15px; font-weight: 650; line-height: 1.15; }
.download-button small { display: block; margin-bottom: 3px; opacity: .7; font-size: 10px; font-weight: 500; }
.file-note { margin: 15px 0 0; color: #858a95; font-size: 12px; }

.phone { width: 350px; min-height: 610px; margin: 0 auto; padding: 25px 22px 20px; background: #fff; border: 8px solid #17191f; border-radius: 42px; box-shadow: 0 24px 60px rgba(30,48,80,.16); }
.phone-top { padding: 0 7px 22px; display: flex; justify-content: space-between; font-size: 10px; }
.screen-title { display: flex; justify-content: space-between; align-items: start; }
.screen-title h2 { margin-bottom: 3px; font-size: 25px; letter-spacing: -.8px; }
.screen-title p { margin: 0; color: var(--muted); font-size: 12px; }
.screen-title button { width: 34px; height: 34px; border: 0; color: #17233e; background: #e4ebff; border-radius: 50%; }
.balance { margin-top: 22px; padding: 23px; color: #fff; background: var(--blue); border-radius: 22px; }
.balance > div:first-child { color: #d3e1ff; font-size: 12px; }
.balance > div:first-child span { float: right; }
.balance > strong { display: block; margin: 23px 0; font-size: 34px; }
.balance-details { padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.3); }
.balance-details p { margin: 0; color: #d8e4ff; font-size: 10px; }
.balance-details p + p { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.3); }
.balance-details b { display: block; margin-top: 4px; color: #fff; font-size: 14px; }
.quick-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-actions div { padding: 12px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 13px; font-size: 11px; }
.quick-actions span { width: 27px; height: 27px; display: grid; place-items: center; color: var(--green); background: #e5f7f1; border-radius: 50%; font-size: 16px; }
.quick-actions div + div span { color: var(--blue); background: var(--light-blue); }
.today-heading { margin: 28px 2px 13px; display: flex; justify-content: space-between; }
.today-heading a { color: #49659a; font-size: 12px; font-weight: 600; }
.daily-progress { padding: 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 14px; }
.daily-progress > span { width: 35px; height: 35px; display: grid; place-items: center; color: var(--blue); background: var(--light-blue); border-radius: 50%; }
.daily-progress b { font-size: 12px; }
.daily-progress p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.daily-progress > strong { margin-left: auto; color: var(--blue); }
.bottom-nav { margin-top: 55px; padding: 7px 13px; display: flex; align-items: center; justify-content: space-between; border-radius: 28px; box-shadow: 0 8px 25px rgba(35,45,65,.12); }
.bottom-nav b { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; }

.section { padding: 88px 0; }
.section-heading { max-width: 650px; margin-bottom: 38px; }
.section-heading h2, .install-box h2, .faq-grid h2 { margin-bottom: 12px; font-size: 40px; letter-spacing: -1.5px; }
.section-heading > p:last-child, .install-box > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid article { padding: 27px 24px; border: 1px solid var(--border); border-radius: 14px; }
.feature-icon { width: 42px; height: 42px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; }
.feature-icon.blue { color: var(--blue); background: var(--light-blue); }
.feature-icon.green { color: var(--green); background: #e4f7ef; }
.feature-icon.orange { color: var(--orange); background: #fff2df; }
.feature-icon.purple { color: var(--purple); background: #f0eaff; }
.feature-grid h3 { margin-bottom: 9px; font-size: 19px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.screens-section { background: var(--surface); border-top: 1px solid #eef0f4; border-bottom: 1px solid #eef0f4; }
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.screen-preview { min-height: 500px; padding: 25px; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.screen-preview header { display: flex; align-items: center; justify-content: space-between; }
.screen-preview header h3 { margin: 0; font-size: 25px; }
.screen-preview header span { color: var(--blue); font-size: 24px; }
.money-card { margin-top: 25px; padding: 25px; color: #fff; background: var(--green); border-radius: 18px; }
.money-card p { margin: 0; color: #d9fff0; font-size: 13px; }
.money-card b { display: block; margin-top: 27px; font-size: 31px; }
.two-column { padding: 24px 0; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.two-column p { margin: 0; color: var(--muted); font-size: 11px; }
.two-column p + p { padding-left: 16px; border-left: 1px solid var(--border); }
.two-column b { display: block; margin-top: 5px; color: var(--text); font-size: 16px; }
.list-row { margin-top: 24px; display: flex; align-items: center; gap: 18px; }
.chart { width: 72px; height: 72px; border: 14px solid #966bd6; border-right-color: #aeb4bf; border-radius: 50%; }
.list-row p { margin: 0; }
.list-row small { display: block; margin-top: 5px; color: var(--muted); }
.month-title { margin: 31px 0 25px; display: flex; justify-content: space-between; color: #49659a; }
.month-title b { color: var(--text); }
.week, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.week { margin-bottom: 14px; color: var(--muted); font-size: 11px; }
.calendar-days { gap: 16px 0; }
.calendar-days i, .calendar-days b { height: 23px; display: grid; place-items: center; font-size: 11px; font-style: normal; }
.calendar-days .active { width: 26px; height: 26px; justify-self: center; color: #fff; background: var(--blue); border-radius: 50%; }
.calendar-preview h4 { margin: 35px 0 15px; }
.agenda { padding: 16px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 13px; }
.agenda > b { color: var(--blue); font-size: 12px; }
.agenda > span { width: 3px; height: 33px; margin: 0 13px; background: var(--blue); }
.agenda p { margin: 0; font-weight: 600; }
.agenda small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; }
.focus-preview header i { width: 20px; }
.focus-preview header h3 { font-size: 22px; }
.timer-tabs { height: 38px; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; border: 1px solid #999da6; border-radius: 24px; font-size: 12px; }
.timer-tabs b { height: 100%; display: grid; place-items: center; background: #e5eaf8; border-left: 1px solid #999da6; border-right: 1px solid #999da6; }
.timer { width: 220px; height: 220px; margin: 0 auto 27px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 9px solid #e5e6ec; border-radius: 50%; }
.timer span { color: var(--green); }
.timer b { font-size: 42px; }
.timer p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.task-field { position: relative; padding: 15px; border: 1px solid #c9ccd4; border-radius: 11px; }
.task-field small { position: absolute; top: -8px; padding: 0 4px; color: var(--muted); background: #fff; }
.task-field span { float: right; }
.focus-preview > button { width: 100%; margin-top: 15px; padding: 14px; color: #fff; background: #4d68a2; border: 0; border-radius: 10px; }

.install-section { padding-bottom: 40px; }
.install-box { padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 45px; background: #f2f6ff; border: 1px solid #dfe9ff; border-radius: 16px; }
.install-box h2 { font-size: 32px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { padding: 22px 0; display: flex; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--blue); font-size: 21px; transition: transform .15s; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -4px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }

footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 95px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; padding: 13px 18px; color: #fff; background: var(--text); border-radius: 9px; box-shadow: 0 10px 30px rgba(20,24,33,.22); font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 360px; gap: 45px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .screens-grid { grid-template-columns: 1fr 1fr; }
  .focus-preview { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .install-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1120px); }
  .header-inner { height: 64px; }
  nav { display: none; }
  .header-button { padding: 9px 14px; }
  .hero { padding-top: 55px; }
  .hero-grid { display: flex; flex-direction: column; gap: 55px; }
  h1 { font-size: 46px; letter-spacing: -2px; }
  .lead { font-size: 17px; }
  .download-row { flex-direction: column; }
  .download-button { width: 100%; }
  .phone { width: 100%; max-width: 350px; }
  .section { padding: 68px 0; }
  .section-heading h2, .faq-grid h2 { font-size: 33px; }
  .feature-grid, .screens-grid { grid-template-columns: 1fr; }
  .focus-preview { grid-column: auto; width: 100%; }
  .install-box { padding: 28px 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { padding: 28px 0; align-items: flex-start; flex-direction: column; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
