:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #edf5ff;
  --ink: #1f2a30;
  --muted: #60717b;
  --line: #d7e1e8;
  --brand: #1d68d8;
  --brand-2: #3f8df0;
  --brand-deep: #114fb4;
  --brand-soft: #e9f2ff;
  --water: #4d7676;
  --warn: #b65a22;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(63, 141, 240, 0.16) 0%, rgba(63, 141, 240, 0) 34%),
    linear-gradient(160deg, #edf4ff 0%, #f8fbfd 52%, #eef6f2 100%);
}

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

.landing-page {
  min-height: 100vh;
  position: relative;
}

.landing-page::before {
  content: "";
  position: fixed;
  inset: auto -80px 8% auto;
  width: 240px;
  height: 240px;
  background: url("./assets/app-icon.png") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  filter: saturate(1.1);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1080px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(29, 104, 216, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(17, 79, 180, 0.08);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.landing-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12);
  box-shadow: 0 8px 18px rgba(29, 104, 216, 0.18);
  flex: 0 0 auto;
}

.landing-brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.landing-brand strong {
  font-size: 20px;
  line-height: 1;
}

.landing-brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.landing-nav {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(29, 104, 216, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.96) 0%, rgba(223, 236, 255, 0.86) 100%);
}

.landing-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
}

.landing-nav a:hover {
  background: #ffffff;
}

.header-login,
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.header-login,
.btn.secondary {
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.98) 0%, rgba(223, 236, 255, 0.96) 100%);
  color: var(--brand-deep);
  border-color: rgba(29, 104, 216, 0.18);
}

.btn.primary {
  background: var(--brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(29, 104, 216, 0.12);
}

.header-login:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(29, 104, 216, 0.14);
}

.landing-hero,
.section {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.landing-hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(36px, 7vw, 84px);
}

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid rgba(29, 104, 216, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6.8vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-row {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid rgba(29, 104, 216, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.phone-frame {
  width: min(360px, 100%);
  justify-self: center;
  padding: 14px;
  border: 1px solid rgba(29, 104, 216, 0.14);
  border-radius: 34px;
  background: #10223d;
  box-shadow: 0 18px 48px rgba(17, 79, 180, 0.18);
}

.phone-screen {
  min-height: 610px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at top center, rgba(63, 141, 240, 0.14) 0%, rgba(63, 141, 240, 0) 36%),
    linear-gradient(160deg, #edf4ff 0%, #f8fbfd 56%, #eef6f2 100%);
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(29, 104, 216, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.mock-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.mock-pill,
.plan-label {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
}

.mock-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 10px 10px 0;
  padding: 6px 6px 0;
  border: 1px solid rgba(29, 104, 216, 0.12);
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, rgba(231, 241, 255, 0.88) 0%, rgba(214, 229, 250, 0.82) 100%);
}

.mock-nav span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid rgba(29, 104, 216, 0.1);
  border-bottom-color: transparent;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(237, 245, 255, 0.54) 100%);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
}

.mock-nav .active {
  background: #ffffff;
  border-color: rgba(29, 104, 216, 0.24);
}

.mock-content {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.mock-card,
.feature-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow: 0 8px 24px rgba(17, 79, 180, 0.05);
}

.mock-card {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.mock-card:first-child {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.mock-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.mock-card.compact {
  border-color: rgba(29, 104, 216, 0.16);
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.98) 0%, rgba(223, 236, 255, 0.86) 100%);
}

.mock-photo {
  min-height: 190px;
  border-radius: 18px;
  margin: 0;
  overflow: hidden;
  background: #dce9f7;
  position: relative;
}

.mock-photo img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

.section {
  padding-block: clamp(48px, 7vw, 90px);
}

.section.band {
  width: 100%;
  background: rgba(255, 255, 255, 0.58);
}

.section.band > .section-head,
.section.band > .feature-grid,
.section.band > .plans-grid {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.feature-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.feature-card p,
.plan-card p,
.mission-panel p,
.mission-note p,
.download-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 12px;
  background-color: var(--brand);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 24px;
}

.icon-report {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.icon-water {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M9 10c1.6 1 4.4 1 6 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M9 10c1.6 1 4.4 1 6 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.icon-favorite {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 18.4-6.2 3.2 1.2-6.8L2 10l6.9-1L12 2.8 15.1 9l6.9 1-5 4.8 1.2 6.8z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 18.4-6.2 3.2 1.2-6.8L2 10l6.9-1L12 2.8 15.1 9l6.9 1-5 4.8 1.2 6.8z' fill='%23000'/%3E%3C/svg%3E");
}

.icon-profile {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM4 21a8 8 0 0 1 16 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM4 21a8 8 0 0 1 16 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 18px;
}

.mission-panel,
.mission-note,
.download-panel {
  border: 1px solid rgba(29, 104, 216, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 245, 255, 0.82) 100%);
  box-shadow: 0 12px 32px rgba(17, 79, 180, 0.07);
}

.mission-panel {
  min-height: 320px;
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
}

.mission-note {
  min-height: 320px;
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
}

.mission-panel h2,
.mission-note strong {
  max-width: 560px;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

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

.plan-card {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.plan-card.featured {
  border-color: rgba(29, 104, 216, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.price {
  font-size: 30px;
  line-height: 1.1;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.landing-footer {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px 16px 34px;
  color: var(--muted);
}

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

  .landing-hero,
  .mission-section {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
  }

  .phone-frame {
    justify-self: start;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .landing-header {
    position: static;
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .landing-brand small {
    display: none;
  }

  .landing-hero {
    padding-top: 28px;
  }

  .feature-grid,
  .plans-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: stretch;
  }

  .download-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .phone-screen {
    min-height: 560px;
  }

  .landing-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .landing-brand strong {
    font-size: 18px;
  }

  .header-login {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 14px;
  }
}
