:root {
  --blue-900: #0b49d1;
  --blue-700: #1268e8;
  --blue-500: #219ce9;
  --blue-100: #e9f6ff;
  --ink: #20242c;
  --muted: #626b79;
  --white: #ffffff;
  --line: rgba(20, 65, 145, 0.14);
  --shadow: 0 28px 90px rgba(4, 36, 103, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 251, 255, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 104, 232, 0.3);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  color: #435164;
  font-size: 15px;
  font-weight: 700;
}

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

.language-switch {
  display: inline-flex;
  padding: 4px;
  background: #eaf3ff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-btn {
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  color: var(--blue-900);
  font: inherit;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 8px 18px rgba(18, 104, 232, 0.22);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 69px);
  padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 72px) clamp(36px, 7vw, 70px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(128, 211, 255, 0.55), transparent 26%),
    linear-gradient(155deg, var(--blue-900) 0%, var(--blue-700) 52%, #68c2ff 100%);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -12vw;
  width: 48vw;
  min-width: 420px;
  aspect-ratio: 1;
  content: "";
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-text {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

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

.primary-btn,
.ghost-btn,
.outline-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-weight: 900;
  border-radius: 8px;
}

.primary-btn {
  color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(4, 36, 103, 0.24);
}

.primary-btn.light {
  color: var(--blue-900);
}

.ghost-btn {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.68);
}

.outline-btn {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.68);
}

.hero-media {
  min-height: 580px;
}

.hero-media img {
  width: min(510px, 80vw);
  margin-inline: auto;
  border-radius: 28px;
  filter: drop-shadow(0 34px 54px rgba(2, 35, 96, 0.32));
}

.floating-card {
  position: absolute;
  right: 3%;
  bottom: 4%;
  min-width: min(360px, 78%);
  padding: 22px 24px;
  color: var(--blue-700);
  background: var(--white);
  border: 8px solid #21a3e7;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-card span {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
}

.floating-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-strip div {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 28px 12px;
  background: var(--white);
}

.stats-strip strong {
  color: var(--blue-700);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.section-copy h2,
.section-heading h2 {
  max-width: 920px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
}

.split-section .eyebrow,
.screens-section .eyebrow {
  color: var(--blue-700);
}

.phone-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.phone-stack img,
.screen-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-stack img:nth-child(2) {
  margin-top: 56px;
}

.feature-section {
  color: var(--white);
  background: linear-gradient(155deg, #1268e8, #50b9ff);
}

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

.feature-card {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--blue-700);
  background: var(--white);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 24px 0 12px;
  font-size: 24px;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.screens-section {
  background: #f5faff;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.cta-section {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--blue-900);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-section h2 {
  max-width: 900px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #526071;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand span {
  color: var(--blue-700);
  font-weight: 900;
}

.footer-brand small {
  color: #526071;
}

.footer-brand small span {
  color: #526071;
  font-weight: 800;
}

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

.footer-brand small a:hover {
  color: var(--blue-900);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-end;
  font-weight: 800;
}

.footer-links a {
  color: #526071;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    font-size: 18px;
  }

  .language-switch {
    transform: scale(0.94);
    transform-origin: right center;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-actions,
  .store-actions,
  .primary-btn,
  .ghost-btn,
  .outline-btn {
    width: 100%;
  }

  .hero-media img {
    width: 100%;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    min-width: 0;
    width: 100%;
    margin-top: -48px;
    border-width: 6px;
  }

  .stats-strip,
  .feature-grid,
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    grid-template-columns: 1fr;
  }

  .phone-stack img:nth-child(2) {
    margin-top: 0;
  }

  .feature-card {
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
