:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #65758b;
  --line: rgba(25, 76, 140, 0.14);
  --blue: #2f7df6;
  --blue-dark: #185bd3;
  --aqua: #40d6e8;
  --green: #42be7a;
  --coral: #ff8b72;
  --shadow: 0 22px 60px rgba(27, 81, 148, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(244, 248, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(47, 125, 246, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  overflow: hidden;
  padding: clamp(44px, 7vw, 88px) clamp(22px, 6vw, 92px) clamp(52px, 8vw, 96px);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(244, 248, 255, 0.94), rgba(244, 248, 255, 0.62)),
    url("assets/bg_app.webp") center / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 40%;
  content: "";
  background: linear-gradient(180deg, rgba(244, 248, 255, 0), var(--bg));
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: #33465f;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action,
.store-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 0 24px;
  font-weight: 800;
}

.primary-action,
.store-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--aqua), var(--blue), var(--blue-dark));
  box-shadow: 0 16px 34px rgba(47, 125, 246, 0.28);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.phone-preview {
  justify-self: center;
  width: min(100%, 400px);
}

.phone-shell {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  border: 10px solid #162239;
  border-radius: 38px;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top span:first-child {
  width: 92px;
  height: 16px;
  border-radius: 99px;
  background: #d9e8fb;
}

.phone-top span:last-child {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: url("assets/icon_logo.png") center / cover;
}

.storage-card {
  border-radius: 24px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f7df6, #40d6e8);
}

.storage-card p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.storage-card strong {
  font-size: 42px;
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-row span {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #8cd5ff, #346cf4);
}

.preview-row span:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #7fe1c0, #23a474);
}

.preview-row span:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #ffc5a9, #ff7d66);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: var(--surface);
}

.feature-list span {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #dfeeff;
}

.feature-list article:nth-child(2) span {
  background: #dff8ee;
}

.feature-list article:nth-child(3) span {
  background: #ffe9df;
}

.feature-list strong {
  display: block;
  margin-bottom: 2px;
}

.feature-list p {
  margin: 0;
  font-size: 13px;
}

.section,
.privacy-section,
.download-section {
  padding: clamp(56px, 8vw, 104px) clamp(22px, 6vw, 92px);
}

.section-heading {
  margin-bottom: 30px;
}

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

.feature-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(34, 83, 143, 0.08);
}

.feature-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 30px;
  border-radius: 18px;
}

.photo-mark {
  background: linear-gradient(135deg, #a7e6ff, #2f7df6);
}

.video-mark {
  background: linear-gradient(135deg, #90edc7, #23a474);
}

.contact-mark {
  background: linear-gradient(135deg, #ffc4ad, #ff7d66);
}

.privacy-section,
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.privacy-copy,
.download-section {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(34, 83, 143, 0.08);
}

.privacy-copy {
  padding: 30px;
}

.privacy-copy p:last-child,
.download-section p {
  margin-bottom: 0;
}

.download-section {
  margin: 20px clamp(22px, 6vw, 92px) clamp(56px, 8vw, 92px);
  padding: clamp(28px, 5vw, 42px);
}

.store-button {
  justify-self: end;
  min-width: 220px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

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

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .phone-preview {
    width: min(100%, 350px);
  }

  .phone-shell {
    min-height: 500px;
  }

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

  .store-button {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .phone-shell {
    min-height: 470px;
    border-width: 8px;
    border-radius: 32px;
    padding: 18px;
  }

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