:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #101828;
  --ink-soft: #27364d;
  --muted: #667085;
  --line: #d9e1ec;
  --line-strong: #bdc8d8;
  --primary: #2458e6;
  --primary-dark: #163fb4;
  --primary-soft: #e8efff;
  --green: #14966f;
  --green-soft: #e8f7f0;
  --amber: #d48b24;
  --rose: #c64f6b;
  --shadow-sm: 0 10px 28px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 24px 70px rgba(16, 24, 40, 0.14);
  --shadow-lg: 0 34px 110px rgba(16, 24, 40, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f9fbff 0%, #f5f7fb 42%, #eef3f8 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(36, 88, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 88, 230, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 58%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 253, 0.82);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #2458e6 0%, #14966f 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(36, 88, 230, 0.24);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(217, 225, 236, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  border-radius: 8px;
  padding: 8px 12px;
}

.nav-links a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.language-select select {
  min-width: 124px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(286px, 410px);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
  width: min(100%, var(--max));
  min-height: min(820px, calc(100vh - 68px));
  margin: 0 auto;
  padding: clamp(30px, 6vw, 68px) clamp(18px, 4vw, 28px) 40px;
}

.hero::after {
  position: absolute;
  right: clamp(10px, 2vw, 34px);
  bottom: 58px;
  z-index: -1;
  width: min(44vw, 500px);
  height: min(44vw, 500px);
  border: 1px solid rgba(36, 88, 230, 0.1);
  border-radius: 8px;
  content: "";
  transform: rotate(-8deg);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-sm);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.65rem, 5.45vw, 4.55rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.primary-button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(36, 88, 230, 0.28);
}

.primary-button:hover {
  background: var(--primary-dark);
  box-shadow: 0 18px 42px rgba(36, 88, 230, 0.34);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.secondary-button:hover {
  border-color: var(--line-strong);
  background: #fff;
  transform: translateY(-1px);
}

.download-note {
  max-width: 560px;
  margin: 16px 0 0;
  color: #7a8496;
  font-size: 0.91rem;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 9 / 18.6;
  padding: 15px;
  border: 9px solid #111827;
  border-radius: 46px;
  background: #111827;
  box-shadow:
    0 28px 80px rgba(16, 24, 40, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.6);
}

.phone::before,
.phone::after {
  position: absolute;
  right: -15px;
  width: 4px;
  border-radius: 999px;
  background: #1f2937;
  content: "";
}

.phone::before {
  top: 126px;
  height: 56px;
}

.phone::after {
  top: 202px;
  height: 78px;
}

.phone-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #303847;
}

.app-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 44px 18px 28px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.97)),
    linear-gradient(135deg, rgba(36, 88, 230, 0.12), rgba(20, 150, 111, 0.1));
}

.app-screen::before {
  display: block;
  width: 48%;
  height: 10px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(36, 88, 230, 0.1);
  content: "";
}

.widget-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(217, 225, 236, 0.88);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

.widget-card::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 88, 230, 0.16), rgba(20, 150, 111, 0.16));
  content: "";
}

.widget-card span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.widget-card strong {
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-size: 1.78rem;
  line-height: 1.08;
}

.widget-card p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.mock-actions,
.mockup-progress {
  display: flex;
  gap: 8px;
}

.mock-actions span {
  flex: 1;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--ink);
  text-align: center;
}

.mock-actions span:last-child {
  background: var(--green-soft);
  color: #0b6b4e;
}

.mini-list {
  display: grid;
  gap: 10px;
  padding: 0 6px;
}

.mini-list span {
  height: 12px;
  border-radius: 999px;
  background: #dbe5f3;
}

.mini-list span:nth-child(1) {
  width: 88%;
}

.mini-list span:nth-child(2) {
  width: 70%;
}

.mini-list span:nth-child(3) {
  width: 52%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.trust-strip div {
  position: relative;
  min-height: 118px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
}

.trust-strip div::before {
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.trust-strip div:nth-child(2)::before {
  background: var(--green);
}

.trust-strip div:nth-child(3)::before {
  background: var(--amber);
}

.trust-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1.03rem;
}

.trust-strip span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 126px) clamp(18px, 4vw, 28px);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 36px;
}

.section-heading h2,
.download-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 268px;
  padding: 25px;
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  border-color: rgba(36, 88, 230, 0.28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(36, 88, 230, 0.12);
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  border-color: rgba(20, 150, 111, 0.16);
  background: var(--green-soft);
  color: var(--green);
}

.feature-card:nth-child(3) .feature-icon {
  border-color: rgba(212, 139, 36, 0.18);
  background: #fff4df;
  color: var(--amber);
}

.feature-card:nth-child(4) .feature-icon {
  border-color: rgba(198, 79, 107, 0.16);
  background: #fff0f4;
  color: var(--rose);
}

.feature-card h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.18;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screens-section {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.screens-section > .section-heading,
.screens-section > .screens-grid {
  width: min(calc(100% - 36px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.screens-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.screenshot-frame {
  min-height: 540px;
  padding: 18px;
  border: 1px solid rgba(217, 225, 236, 0.94);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: var(--shadow-sm);
}

.real-screenshot {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 504px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.screenshot-frame.has-image .real-screenshot {
  display: block;
}

.screenshot-frame.has-image .screen-placeholder {
  display: none;
}

.screen-placeholder {
  display: grid;
  height: 100%;
  min-height: 504px;
  place-items: center;
  border: 2px dashed #b7c3d4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 88, 230, 0.05), rgba(20, 150, 111, 0.05));
  color: var(--muted);
  text-align: center;
}

.screen-placeholder span {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.screen-placeholder small {
  display: block;
  margin-top: 8px;
}

.mockup-frame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background:
    linear-gradient(135deg, #eef7f1 0%, #f2f6ff 100%);
}

.mockup-header,
.mockup-card-large {
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--muted);
  font-weight: 900;
}

.mockup-header strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.mockup-card-large {
  padding: clamp(26px, 5vw, 52px);
}

.mockup-card-large span {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 900;
}

.mockup-card-large p {
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.05;
}

.mockup-progress span {
  height: 10px;
  flex: 1;
  border-radius: 999px;
  background: rgba(20, 150, 111, 0.22);
}

.mockup-progress span:first-child {
  background: var(--green);
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: min(calc(100% - 36px), var(--max));
  margin: clamp(62px, 8vw, 102px) auto;
  padding: clamp(30px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #101828 0%, #173661 56%, #0b6b4e 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.download-band .eyebrow {
  color: #83e6b8;
}

.download-band h2 {
  color: #fff;
}

.download-band .primary-button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.download-band .primary-button:hover {
  background: #edf4ff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 28px);
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .phone-wrap {
    justify-content: flex-start;
  }

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

  .screens-grid {
    width: min(calc(100% - 36px), 760px);
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 142px;
    white-space: normal;
    line-height: 1.05;
  }

  .language-select select {
    min-width: 104px;
    max-width: 118px;
    padding: 9px 8px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.8rem);
  }

  .hero-actions,
  .download-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .phone {
    width: min(100%, 330px);
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-frame {
    min-height: 430px;
  }

  .screen-placeholder,
  .real-screenshot {
    min-height: 394px;
  }
}
