/* ============================
   CSS Reset & Base
   ============================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================
   Design Tokens (from Figma)
   ============================ */
:root {
  /* Colors */
  --primary: #0445e7;
  --primary-muted: #e2e7ff;
  --primary-extra-muted: #f2f4ff;
  --secondary: #f35b04;
  --white: #ffffff;
  --text-primary: #222222;
  --text-secondary: #767676;
  --text-muted: #8d8d8d;
  --navbar: #5b5b5b;
  --stroke: #d9d9d9;
  --gray-muted: #eeeeee;
  --gray-extra-muted: #f6f6f6;
  --icon-secondary: #b6b6b6;
  --deactive-text: #95afef;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-padding: 80px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ============================
   Layout
   ============================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================
   Header
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 181px;
  height: 44px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__link {
  padding: 10px 15px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2px;
  color: var(--text-primary);
  border-radius: 32px;
  transition: background-color 0.2s;
}

.header__link:hover {
  background-color: var(--gray-extra-muted);
}

.header__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2px;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 32px;
  transition: background-color 0.2s;
}

.header__btn:hover {
  background-color: #0339c4;
}

.header__btn img {
  width: 24px;
  height: 24px;
}

/* ============================
   Hero
   ============================ */
.hero {
  width: 100%;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 80px 80px;
  gap: 76px;
}

.hero__content {
  flex: 0 0 680px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 15px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2px;
  color: var(--primary);
  background-color: var(--primary-muted);
  border-radius: 32px;
}

.hero__badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.hero__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.hero__heading-accent {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Store buttons (reusable) */
.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 32px;
  transition: background-color 0.2s;
}

.store-btn:hover {
  background-color: #0339c4;
}

.store-btn__icon {
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
}

.store-btn__label {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.16px;
}

.store-btn__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.24px;
}

/* Hero phones */
.hero__phones {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero__phones img {
  width: 100%;
  max-width: 524px;
  height: auto;
}

.stats {
  width: 100%;
  padding: 40px 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.stats__card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 32px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 259px;
  text-align: center;
  color: var(--primary);
}

.stats__number {
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
}

.stats__label {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0.22px;
}

.stats__divider {
  width: 1px;
  height: 100px;
  background-color: var(--primary-muted);
}

/* ============================
   Tagline
   ============================ */
.tagline {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 80px 70px;
}

.tagline__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 840px;
  border-radius: 0;
  background: url('../assets/images/tagline.png') center / cover no-repeat;
  overflow: hidden;
}

.tagline__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at center, rgba(4, 69, 231, 1) 40%, rgba(4, 69, 231, 0) 100%);
}

.tagline__heading {
  position: relative;
  max-width: 930px;
  padding: 0 40px;
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
  text-align: center;
  color: var(--white);
}

/* ============================
   Features
   ============================ */
.features {
  width: 100%;
}

.feature {
  width: 100%;
}

.feature--white {
  background-color: var(--white);
}

.feature--muted {
  background-color: var(--primary-extra-muted);
}

.feature__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 200px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 80px 0;
}

.feature__inner--reversed {
  align-items: flex-start;
  padding: 0 80px 120px;
}

.feature__phone {
  flex-shrink: 0;
  width: 311px;
}

.feature__phone--bottom {
  align-self: flex-end;
}

.feature__phone--top {
  align-self: flex-start;
}

.feature__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.feature__text {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 340px;
  max-width: 500px;
}

.feature__text--bottom {
  padding-bottom: 120px;
}

.feature__text--top {
  padding-top: 120px;
}

.feature__title-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.feature__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: 0.4px;
  color: var(--text-primary);
}

.feature__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 12px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2px;
  color: var(--primary);
  background-color: var(--primary-extra-muted);
  border-radius: 32px;
  white-space: nowrap;
}

.feature__desc {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

/* ============================
   Cards
   ============================ */
.cards {
  width: 100%;
  background-color: var(--primary-extra-muted);
}

.cards__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 76px 80px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 400px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 32px;
}

.card__icon {
  width: 40px;
  height: 40px;
}

.card__text {
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
  line-height: 1.3;
}

.card__title {
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.32px;
}

.card__desc {
  font-size: 20px;
  letter-spacing: 0.2px;
}

/* ============================
   How To
   ============================ */
.howto {
  width: 100%;
  background-color: var(--primary-extra-muted);
}

.howto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 76px 80px;
}

.howto__heading {
  font-weight: 500;
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  color: var(--primary);
  max-width: 1000px;
}

.howto__heading strong {
  font-weight: 700;
}

.howto__steps {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.howto__timeline {
  display: flex;
  align-items: center;
  gap: 4px;
}

.howto__circle {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.howto__line {
  width: 270px;
  height: 1.5px;
  background-color: #dee3ed;
}

.howto__labels {
  display: flex;
  gap: 95px;
}

.howto__label {
  width: 240px;
}

.howto__label-title {
  font-weight: 600;
  font-size: 20px;
  line-height: normal;
  color: #0f0f14;
}

.howto__label-desc {
  font-size: 18px;
  line-height: 21px;
  color: #6b7080;
}

.tagline {
  width: 100%;
}

.features {
  width: 100%;
}

.footer {
  width: 100%;
  background-color: var(--primary);
}

.footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 160px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px 0;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 33px;
  max-width: 800px;
  padding-bottom: 240px;
}

.footer__heading {
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
  color: var(--white);
}

.footer__desc {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.24px;
  color: var(--gray-extra-muted);
}

.footer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.store-btn--large {
  padding: 20px 40px;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 64px;
}

.store-btn--large:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.store-btn--large .store-btn__label {
  font-size: 20px;
}

.store-btn--large .store-btn__name {
  font-size: 32px;
}

.footer__phone {
  flex-shrink: 0;
}

.footer__phone img {
  display: block;
  width: 342px;
  height: auto;
}

.footer__bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 33px 24px;
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: rgba(10, 62, 193, 0.9);
  border-radius: 64px;
}

.footer__socials {
  display: flex;
  gap: 40px;
}

.footer__social img {
  width: 32px;
  height: 32px;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: var(--white);
}

.footer__legal-link {
  color: var(--white);
  transition: opacity 0.2s;
}

.footer__legal-link:hover {
  opacity: 0.7;
}

.footer__copyright {
  color: var(--white);
}
