:root {
  --green: #0b8f4d;
  --green-dark: #086b3a;
  --green-light: #22c55e;
  --green-soft: #e7f6ee;
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --surface: #ffffff;
  --text: #0c1a14;
  --muted: #55645d;
  --border: #e2e8e5;
  --shadow: 0 18px 40px rgba(12, 26, 20, .14);
  --radius: 14px;
}

:root[data-theme="dark"] {
  --green-soft: #12301f;
  --bg: #08130d;
  --bg-alt: #0d1c14;
  --surface: #11241a;
  --text: #eef6f1;
  --muted: #9bb0a5;
  --border: #1f3529;
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 40px); }
.muted { color: var(--muted); }
.grad { color: var(--green); }
h1, h2, h3, h4, h5 { line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: left;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 12px 22px; font-size: .95rem; }
.btn--lg { padding: 12px 18px; font-size: 1rem; min-height: 60px; }
.btn--lg span { display: flex; flex-direction: column; line-height: 1.25; }
.btn--lg small { font-size: .78rem; font-weight: 400; opacity: .85; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(11, 143, 77, .28); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.6rem; letter-spacing: -.03em; }
.brand b { font-weight: 800; }
.brand span { font-weight: 800; }
.brand span b { color: var(--green); }
.brand img { border-radius: 9px; }
.nav__links { display: flex; gap: 40px; font-weight: 500; }
.nav__links a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a.active { color: var(--green); border-bottom-color: var(--green); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.nav__burger { display: none; }

/* Hero */
.hero { position: relative; padding: 0; overflow: hidden; background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.hero__inner { display: block; min-height: 560px; padding-block: 56px; }
.hero__copy { position: relative; z-index: 2; max-width: 520px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border); font-size: .92rem; font-weight: 500;
}
.flag { width: 20px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #0038a8 50%, #ce1126 50%); position: relative; overflow: hidden; }
.flag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 60%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; margin: 20px 0 16px; line-height: 1.06; text-wrap: balance; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 27em; margin-bottom: 26px; text-wrap: pretty; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__cta .btn { white-space: nowrap; }
.checks { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--green); }

/* Hero picture */
/* Full-bleed picture: flush to the hero's right, top and bottom edges,
   fading into the page only on its left side. */
.hero__visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 58%; }
.hero__visual img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
  mask-image: linear-gradient(to right, transparent 0, #000 22%);
}
/* Value strip */
.strip { background: var(--bg-alt); border-block: 1px solid var(--border); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0; }
.strip__inner > div { display: flex; gap: 14px; align-items: flex-start; }
.strip svg { width: 38px; height: 38px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.strip b { display: block; }
.strip span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 44px; }
.section__head .muted { margin-top: 10px; }

.features { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; align-items: center; }
.features__intro p { margin-top: 16px; font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fcard {
  display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 14px; transition: transform .2s ease, box-shadow .2s ease;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard h3 { font-size: .95rem; margin-bottom: 4px; }
.fcard p { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.ficon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.ficon.g { background: #dcf5e6; } .ficon.b { background: #e0e7ff; } .ficon.o { background: #fdeccb; }
.ficon.r { background: #fde1e1; } .ficon.p { background: #ece2fb; } .ficon.n { background: #eceff1; color: #455a64; }
:root[data-theme="dark"] .ficon { filter: saturate(.8) brightness(.9); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }

.name { text-align: center; max-width: 720px; }
blockquote { font-size: clamp(1.7rem, 4.5vw, 2.8rem); font-weight: 800; color: var(--green); margin: 22px 0 14px; letter-spacing: -.02em; }

.price { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 44px 32px; box-shadow: var(--shadow); }
.price p { margin: 10px 0 22px; }
.price__list { display: inline-block; text-align: left; margin-bottom: 26px; }
.price__list li { padding: 6px 0 6px 28px; position: relative; }
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 10px; }
.faq a { color: var(--green); text-decoration: underline; }

/* Live demo */
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 22px; }
.device-switch[hidden] { display: none; }
.device-switch { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0; padding: 5px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.device-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.device-btn:hover { color: var(--text); }
.device-btn.is-active { background: var(--green); color: #fff; }
.device-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Device frames: Web = browser window, Tablet = iPad-style, Mobile = iPhone-style.
   Light "silver aluminium" hardware with iOS status bars. */
.device {
  --pad: 10px; --radius: 16px; --screen-r: 8px; --demo-h: min(900px, 90vh);
  --status-bg: #f8fafc; --status-fg: #0f172a;      /* match the app's own light background */
  --metal: #cfd2d8;
  position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: var(--pad); border-radius: var(--radius);
  background: linear-gradient(145deg, #fbfbfd 0%, #e7e8ec 55%, #d9dbe0 100%);
  box-shadow: 0 0 0 1px #bcbfc6, inset 0 1px 0 #fff, var(--shadow);
  transition: max-width .4s ease, padding .4s ease, border-radius .4s ease;
}
:root[data-theme="dark"] .device { --status-bg: #0b1220; --status-fg: #e5e7eb; }

.device[data-device="tablet"] { --pad: 20px; --radius: 42px; --screen-r: 24px; --demo-h: min(1000px, 88vh); max-width: 880px; }
.device[data-device="mobile"] { --pad: 12px; --radius: 62px; --screen-r: 50px; --demo-h: min(700px, 78vh); max-width: 390px; }

.screen {
  position: relative; overflow: hidden; border-radius: var(--screen-r); background: var(--status-bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .22); transition: border-radius .4s ease;
}
.demo__frame { display: block; width: 100%; height: var(--demo-h, min(720px, 80vh)); border: 0; background: var(--status-bg); transition: height .4s ease; }

/* Web: light browser toolbar */
.demo__bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: #ececf0; color: #3a3d42; font-size: .82rem; border-bottom: 1px solid #d6d8dd; }
.demo__bar i { width: 11px; height: 11px; border-radius: 50%; flex: none; background: #ff5f57; }
.demo__bar i:nth-child(2) { background: #febc2e; }
.demo__bar i:nth-child(3) { background: #28c840; }
.demo__bar span { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__bar a { color: var(--green); font-weight: 600; white-space: nowrap; }

/* iOS status bar (tablet + mobile) */
.status { display: none; align-items: center; position: relative; background: var(--status-bg); color: var(--status-fg); font-weight: 600; }
.status__icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.status__date { display: none; margin-left: 8px; }
.status__island { display: none; }
.device[data-device="tablet"] .status { display: flex; height: 28px; padding: 0 20px; font-size: 12px; }
.device[data-device="tablet"] .status__date { display: inline; font-weight: 500; }
.device[data-device="tablet"] .status__icons svg:nth-child(1) { transform: scale(.85); }
.device[data-device="mobile"] .status { display: flex; height: 54px; padding: 8px 30px 0 34px; font-size: 16px; }
.device[data-device="mobile"] .status__island {
  display: block; position: absolute; z-index: 2; left: 50%; top: 11px; transform: translateX(-50%);
  width: 104px; height: 30px; border-radius: 999px; background: #050505;
}
.device[data-device="tablet"] .demo__bar, .device[data-device="mobile"] .demo__bar { display: none; }

/* Home indicator overlays the bottom of the screen, like iOS */
.device__home { display: none; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); height: 5px; border-radius: 999px; background: var(--status-fg); opacity: .55; pointer-events: none; }
.device[data-device="tablet"] .device__home { display: block; width: 150px; }
.device[data-device="mobile"] .device__home { display: block; width: 130px; }

/* Front camera dot in the iPad's top bezel */
.device__cam { display: none; position: absolute; left: 50%; top: 6px; width: 6px; height: 6px; transform: translateX(-50%); border-radius: 50%; background: #2c2e33; }
.device[data-device="tablet"] .device__cam { display: block; }

/* Hardware buttons: iPad power on the top edge; iPhone action + volume on the left, power on the right */
.device[data-device="tablet"]::before, .device[data-device="mobile"]::before,
.device[data-device="mobile"]::after { content: ""; position: absolute; background: var(--metal); box-shadow: 0 0 0 1px #b4b7be; }
.device[data-device="tablet"]::before { top: -3px; right: 90px; width: 52px; height: 3px; border-radius: 3px 3px 0 0; }
.device[data-device="mobile"]::before { right: -3px; top: 190px; width: 3px; height: 84px; border-radius: 0 3px 3px 0; }
.device[data-device="mobile"]::after { left: -3px; top: 140px; width: 3px; height: 40px; border-radius: 3px 0 0 3px; box-shadow: 0 0 0 1px #b4b7be, 0 62px 0 var(--metal), 0 124px 0 var(--metal); }

/* ---- Landscape (default for tablet + mobile) ---- */
.device[data-device="tablet"][data-orientation="landscape"] { --demo-h: min(760px, 82vh); max-width: 1120px; }
.device[data-device="mobile"][data-orientation="landscape"] { --pad: 12px; --radius: 54px; --screen-r: 42px; --demo-h: min(340px, 66vh); max-width: 820px; }
/* iPhone on its side: no status bar; the Dynamic Island sits in a strip on the left, and the app is inset like iOS safe areas */
.device[data-device="mobile"][data-orientation="landscape"] .status { display: none; }
.device[data-device="mobile"][data-orientation="landscape"] .screen { padding: 0 22px 0 48px; }
.device[data-device="mobile"][data-orientation="landscape"] .status__island { left: 9px; top: 50%; transform: translateY(-50%); width: 30px; height: 104px; }
.device[data-device="mobile"][data-orientation="landscape"] .device__home { width: 120px; bottom: 5px; }
/* Buttons follow the rotation: power moves to the bottom edge, action + volume to the top edge */
.device[data-device="mobile"][data-orientation="landscape"]::before { right: auto; left: 190px; top: auto; bottom: -3px; width: 84px; height: 3px; border-radius: 0 0 3px 3px; }
.device[data-device="mobile"][data-orientation="landscape"]::after { left: auto; right: 140px; top: -3px; width: 40px; height: 3px; border-radius: 3px 3px 0 0; box-shadow: 0 0 0 1px #b4b7be, -62px 0 0 var(--metal), -124px 0 0 var(--metal); }

.device[data-device="desktop"] ~ .demo__caption { display: none; }
.demo__caption { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.demo__caption a { color: var(--green); font-weight: 600; }

/* Download */
.dl { background: linear-gradient(180deg, var(--green-soft), var(--bg-alt)); border-top: 1px solid var(--border); padding: 72px 0 56px; }
.dl__head { text-align: center; margin-bottom: 40px; }
.dl__head .muted { margin-top: 10px; }
.dl__more { text-align: center; margin-top: 26px; font-size: .92rem; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.pcard {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 34px 24px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--green); }
.pcard--main { border-color: var(--green); box-shadow: 0 12px 30px rgba(11, 143, 77, .18); }
.pcard__tag { position: absolute; top: -12px; padding: 4px 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.pcard__icon {
  position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px;
  animation: float 3.2s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.pcard__icon svg { width: 46px; height: 46px; position: relative; z-index: 1; color: #fff; }
.pcard__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid currentColor; opacity: 0;
  animation: ring 2.8s ease-out infinite; animation-delay: var(--d, 0s);
}
.pcard__icon--android { background: linear-gradient(135deg, #3ddc84, #1aa85d); color: #1aa85d; }
.pcard__icon--windows { background: linear-gradient(135deg, #2f9bff, #0b6ad6); color: #0b6ad6; }
.pcard__icon--ios { background: linear-gradient(135deg, #4b5563, #111827); color: #374151; }
.pcard__icon .eye { fill: #1aa85d; }
a.pcard:hover .pcard__icon { animation: wiggle .7s ease; }
.pcard__body strong { display: block; font-size: 1.25rem; }
.pcard__body small { color: var(--muted); }
.pcard__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 26px; border-radius: 10px;
  background: var(--green); color: #fff; font-weight: 700; transition: background .2s ease;
}
a.pcard:hover .pcard__cta { background: var(--green-dark); }
.pcard__cta .arrow { animation: bounce 1.6s ease-in-out infinite; }
.pcard--soon { opacity: .8; }
.pcard--soon .pcard__icon { filter: grayscale(.35); }
.pcard__cta--soon { background: var(--bg-alt); color: var(--muted); border: 1px dashed var(--border); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes bounce { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0) scale(1.08); } 25% { transform: rotate(-9deg) scale(1.1); } 75% { transform: rotate(9deg) scale(1.1); } }

.footer { padding: 26px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer .brand { font-size: 1.15rem; }
.author { color: var(--green); font-weight: 600; }
.author:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
  .hero__inner { min-height: 0; padding-bottom: 24px; }
  .hero__copy { max-width: 640px; }
  .hero__visual { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .hero__visual img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .features { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__burger { display: grid; }
  .nav__actions .btn { display: none; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav__links.open { max-height: 340px; }
  .nav__links a { padding: 14px 24px; border-bottom: 0; }
}
@media (max-width: 620px) {
  .feature-grid, .strip__inner, .steps, .platforms { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard__icon, .pcard__icon::after, .pcard__cta .arrow { animation: none !important; }
  * { transition: none !important; }
}
