:root{
  --bg: #ffffff;
  --text: #0b0f17;
  --muted: rgba(11, 15, 23, 0.7);
  --accent: #1fadff;
  --card: #f6fbff;
  --border: rgba(11, 15, 23, 0.08);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html, body{ overflow-x: hidden !important; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Sora, Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar{
  padding: 26px 0 10px;
}
.brand{
  width: min(380px, 80vw);
  height: auto;
}

.hero{
  position: relative;
  padding: 18px 0 28px;
}
.hero__container{
  position: relative;
}
.hero__bubble{
  position: absolute;
  width: 520px;
  height: 520px;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  filter: saturate(1.1);
}
.hero__bubble--left{
  left: -260px;
  top: -160px;
}
.hero__bubble--right{
  right: -260px;
  top: -120px;
  transform: scaleX(-1);
}

.hero__grid{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__title{
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.accent{ color: var(--accent); }
.hero__subtitle{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.hero__prompt{
  margin: 0 0 10px;
  font-weight: 600;
}

.hero__form{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 380px;
}
.hero__form input{
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 16px;
  background: #fff;
  outline: none;
}
.hero__form input:focus{
  border-color: rgba(31, 173, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 173, 255, 0.16);
}
.hero__form button{
  height: 48px;
  border-radius: 12px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.hero__form button:hover{
  filter: brightness(0.98);
}
.hero__disclaimer{
  margin: 12px 0 0;
  font-size: 12.5px;
  color: rgba(11, 15, 23, 0.62);
  max-width: 520px;
  line-height: 1.5;
}

.hero__media{
  display: grid;
  place-items: center;
}
.hero__mockup{
  width: min(360px, 85%);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.18));
}

.carousel{
  padding: 20px 0 10px;
}
.carousel__viewport{
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 14px 44px;
  overflow: hidden;
}
.carousel__track{
  display: flex;
  gap: 46px;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar{ display: none; }
.carousel__slide{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.carousel__slide img{
  height: 36px;
  width: auto;
  opacity: 0.95;
}
.carousel__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.carousel__arrow--prev{ left: 10px; }
.carousel__arrow--next{ right: 10px; }

.how{
  padding: 26px 0 18px;
}
.how__grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.how__title{
  display: grid;
  align-items: center;
  padding: 14px 12px;
}
.how__title p{
  margin: 0;
  font-size: 18px;
}
.how__item{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 16px 14px;
  display: grid;
  align-items: center;
}
.how__item p{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.footer{
  padding: 26px 0 18px;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}
.footer__brand img{
  width: min(240px, 80%);
  height: auto;
}
.footer__brand p{
  margin: 10px 0 0;
  color: var(--muted);
}
.footer__col p{
  margin: 0 0 10px;
}
.footer__col ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.copyright{
  padding: 14px 0 20px;
  background: var(--card);
}
.copyright p{
  margin: 0;
  color: rgba(11, 15, 23, 0.6);
  font-size: 13px;
}

.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}
.modal.is-open{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
}
.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.55);
}
.modal__dialog{
  position: relative;
  width: min(480px, calc(100% - 28px));
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.30);
  padding: 18px 18px 16px;
}
.modal__close{
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: rgba(11, 15, 23, 0.65);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover{ color: rgba(11, 15, 23, 0.85); }
.modal__title{
  margin: 0 42px 10px 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.modal__desc{
  margin: 0 0 18px;
  color: rgba(11, 15, 23, 0.68);
  line-height: 1.55;
  font-size: 16px;
}
.modal__form{
  display: grid;
  gap: 10px;
}
.modal__label{
  font-weight: 700;
  margin-top: 6px;
  font-size: 18px;
}
.modal__input{
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(64, 90, 160, 0.28);
  background: rgba(245, 247, 255, 0.8);
  padding: 0 16px;
  font-size: 20px;
  outline: none;
}
.modal__input.is-invalid{
  border-color: rgba(220, 38, 38, 0.85);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
  background: rgba(254, 242, 242, 0.85);
}
.modal__input:focus{
  border-color: rgba(31, 173, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(31, 173, 255, 0.14);
  background: #fff;
}
.modal__hint{
  margin: 0 0 10px;
  color: rgba(11, 15, 23, 0.62);
  font-size: 16px;
}
.modal__error{
  margin: 0;
  min-height: 18px;
  color: rgba(220, 38, 38, 0.95);
  font-weight: 600;
  font-size: 14px;
}
.modal__cta{
  margin-top: 10px;
  height: 58px;
  border-radius: 999px;
  border: 0;
  background: #1e23d8;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  cursor: pointer;
}
.modal__cta:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}
.modal__cta:hover{ filter: brightness(0.98); }
.modal__cta:active{ transform: translateY(1px); }

@media (max-width: 980px){
  .hero__grid{
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .hero__mockup{
    width: min(360px, 92%);
  }
  .how__grid{
    grid-template-columns: 1fr;
  }
  .footer__grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px){
  .container{ width: calc(100% - 28px); }
  .carousel__viewport{ padding: 12px 40px; }
  .carousel__slide img{ height: 28px; }
  .footer__grid{
    grid-template-columns: 1fr;
  }
  .modal__dialog{
    padding: 16px 14px 14px;
  }
  .modal__title{ font-size: 28px; }
  .modal__desc{ font-size: 16px; }
  .modal__label{ font-size: 18px; }
  .modal__input{ font-size: 20px; }
  .modal__hint{ font-size: 16px; }
  .modal__error{ font-size: 13px; }
  .modal__cta{ font-size: 22px; height: 60px; }
}

