@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-ExtraBold.woff2") format("woff2");
  font-weight: 800;
}

:root {
  --blue: #3a76f0;
  --blue-dark: #1e4fd7;
  --blue-soft: #dce9ff;
  --text: #1b1b1f;
  --muted: #4b5563;
  --surface: #ffffff;
  --page: #f7f9ff;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(30, 79, 215, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 720px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(58, 118, 240, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(30, 79, 215, 0.12);
}

.brand-name {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #12203b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 15px;
  color: #26324a;
}

.nav-link:hover {
  background: var(--blue-soft);
}

.nav-link-primary {
  color: var(--blue-dark);
  font-weight: 700;
}

.hero-section {
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(135deg, #9fcbff 0%, #dcebff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(46px, 7.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-copy p {
  max-width: 500px;
  margin: 0 0 32px;
  font-size: clamp(18px, 2.2vw, 23px);
  color: #253047;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.button-light {
  background: #ffffff;
  color: var(--blue-dark);
}

.download-note {
  margin-top: 12px;
  max-width: 420px;
  font-size: 14px;
  color: rgba(37, 48, 71, 0.72);
}

.button-blue {
  margin-top: 18px;
  background: var(--blue);
  color: #ffffff;
}

.phone-showcase {
  position: relative;
  min-height: 560px;
}

.phone {
  position: absolute;
  width: min(52%, 300px);
  filter: drop-shadow(0 28px 32px rgba(34, 78, 130, 0.22));
}

.phone-left {
  left: 14%;
  top: 0;
  transform: rotate(-8deg);
}

.phone-right {
  right: 8%;
  top: 60px;
  transform: rotate(8deg);
}

.intro-section {
  background: #ffffff;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h3 {
  margin: 22px 0 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 64px;
}

.split-grid-center {
  align-items: center;
}

.reverse-on-desktop {
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.animation-card {
  background: #a5cad5;
  box-shadow: var(--shadow);
}

.animation-card lottie-player {
  width: 100%;
  min-height: 420px;
}

.image-card img {
  width: 100%;
}

.text-block {
  max-width: 420px;
}

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

.feature-card {
  min-height: 100%;
  padding: 40px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: min(100%, 360px);
  margin: 0 auto;
}

.site-footer {
  padding: 56px 0;
  background: #1f2937;
}

.footer-inner {
  display: grid;
  gap: 8px;
}

.site-footer p {
  color: #d1d5db;
  font-size: 15px;
}

@media (max-width: 880px) {
  .header-inner {
    min-height: 64px;
    padding: 10px 0;
    gap: 12px;
  }

  .nav-links {
    flex: 1;
    min-width: 0;
    justify-content: right;
  }

  .hero-grid,
  .split-grid,
  .reverse-on-desktop,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    min-height: 460px;
  }

  .text-block {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .hero-section {
    padding-top: 64px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-link {
    padding: 8px 9px;
    font-size: 14px;
  }

  .phone-showcase {
    min-height: 360px;
  }

  .phone {
    width: 58%;
  }

  .phone-left {
    left: 2%;
  }

  .phone-right {
    right: 0;
  }

  .feature-card {
    padding: 28px;
  }
}
