:root {
  --bg: #f6f8ff;
  --text: #0f172a;
  --muted: #64748b;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(148, 163, 184, 0.22);
  --blue: #2563eb;
  --blue2: #3b82f6;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --green: #16a34a;
  --dark: #0f172a;
  --shadow: 0 28px 90px rgba(37, 99, 235, 0.16);
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(37, 99, 235, 0.12), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(6, 182, 212, 0.18), transparent 28%),
    #f7f9ff;
  color: var(--text);
}

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

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

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.6px;
}

.logo__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.nav {
  display: flex;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.nav a:hover {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

.header__mail {
  color: #64748b;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.header__mail:hover {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

/* HERO */

.hero {
  position: relative;
  padding: 82px 0 86px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(37, 99, 235, 0.14), transparent 31%),
    radial-gradient(circle at 84% 22%, rgba(6, 182, 212, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,246,255,0.88));
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 60px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.22));
  filter: blur(20px);
  border-radius: 999px;
  opacity: 0.8;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.badge {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 0.96;
  letter-spacing: -3px;
}

.hero__text {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: #475569;
}

.hero__subtext {
  max-width: 660px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: #64748b;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
  min-width: 160px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: white;
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.78);
  color: #0f172a;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

/* PRODUCT SCREENSHOT */

.product-preview {
  position: relative;
  height: 430px;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.12);
  overflow: hidden;
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.14), rgba(255,255,255,0));
  pointer-events: none;
}

.product-preview img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 26px;
}

/* SECTIONS */

.section {
  position: relative;
  padding: 92px 0;
}

.section:not(:last-of-type) {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.section--soft {
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08), transparent 24%),
    radial-gradient(circle at 90% 15%, rgba(6, 182, 212, 0.09), transparent 26%),
    rgba(255, 255, 255, 0.92);
}

.section--accent {
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

h2 {
  margin: 0 0 16px 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.section__lead {
  max-width: 880px;
  margin: 0 0 56px 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}

.card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 210px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.card h3 {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  min-height: 68px;
}

.card h3 span {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff3d8;
  color: #b45309;
  vertical-align: middle;
  margin-left: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  flex: 1;
}

/* VIDEOS */

.video-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 0;
}

.video-item {
  display: flex;
  gap: 20px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.11);
  background: rgba(255, 255, 255, 0.92);
}

.video-item span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.16));
  color: var(--blue);
  font-weight: 900;
  font-size: 20px;
}

.video-item div {
  flex: 1;
}

.video-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
}

.video-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* TESTING */

.testing {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 48px;
  align-items: start;
}

.checklist {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 14px;
  padding-left: 32px;
  position: relative;
  line-height: 1.58;
}

.checklist li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.form {
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.form h3 {
  margin: 0 0 8px 0;
  font-size: 1.6rem;
}

.form label {
  display: block;
  margin-top: 20px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(248, 250, 252, 0.9);
  color: var(--text);
  outline: none;
  font: inherit;
  transition: 0.18s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(37, 99, 235, 0.62);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.form textarea {
  resize: vertical;
}

.form button {
  width: 100%;
  margin-top: 24px;
}

.form__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* FOOTER */

.footer {
  padding: 40px 0;
  background: #0f172a;
  color: #cbd5e1;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer a:hover {
  color: white;
}

/* MOBILE */

@media (max-width: 1050px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-preview {
    max-width: 900px;
    height: 380px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 54px;
  }

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

  .cards,
  .video-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .card h3 {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    padding: 42px 0 62px;
  }

  h1 {
    letter-spacing: -1.6px;
  }

  .hero__text,
  .section__lead {
    font-size: 17px;
  }

  .hero__subtext {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .product-preview {
    height: 260px;
    border-radius: 24px;
  }

  .cards,
  .video-list {
    grid-template-columns: 1fr;
  }

  .video-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .video-item span {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .section {
    padding: 56px 0;
  }
  
  .section__lead {
    margin-bottom: 36px;
  }
}

.header__mail {
  margin: 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-email {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 20px;
  font-weight: 900;
  word-break: break-word;
}

@media (max-width: 768px) {
  .header {
    padding: 14px 0;
  }

  .header__inner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .nav a {
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
  }

  .header__mail {
    display: none;
  }
}