:root {
  --navy: #0c3b69;
  --navy-deep: #082a4d;
  --blue: #0ba5df;
  --blue-strong: #0b62c5;
  --green: #68c63f;
  --yellow: #ffd000;
  --paper: #f4f7fb;
  --white: #ffffff;
  --ink: #101828;
  --muted: #617085;
  --shadow: 0 24px 70px rgba(10, 36, 68, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.placeholder-page {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(11, 165, 223, 0.18), transparent 24%),
    linear-gradient(180deg, #eef5fb 0%, #ffffff 100%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  height: 100%;
  padding: clamp(22px, 4.5vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(11, 165, 223, 0.24), transparent 22%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
}

.hero::before {
  position: absolute;
  inset: 0 0 0 58%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), var(--paper));
  content: "";
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -12vw;
  width: 44vw;
  height: 44vw;
  min-width: 360px;
  min-height: 360px;
  border: 1px solid rgba(11, 165, 223, 0.2);
  border-radius: 50%;
  content: "";
}

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

.hero-copy {
  max-width: 720px;
  color: var(--white);
}

.hero-copy::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: -116px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(11, 165, 223, 0.22);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: clamp(24px, 5vh, 48px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(3, 18, 38, 0.16);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue), var(--blue-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

.section-kicker {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(11, 165, 223, 0.24);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(11, 165, 223, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4vh, 32px);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(11, 165, 223, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 3vh, 26px);
}

.trust-row span {
  border-left: 3px solid var(--green);
  padding: 5px 14px 5px 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  display: grid;
  min-height: 0;
  height: min(78vh, 620px);
  align-items: center;
  justify-items: center;
}

.phone-mockup {
  width: min(34vw, 360px);
  max-height: min(72vh, 590px);
  object-fit: contain;
  filter: drop-shadow(0 26px 58px rgba(10, 36, 68, 0.26));
  animation: phoneFloat 5.8s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    padding-top: 20px;
  }

  .hero::before {
    inset: 58% 0 0;
  }

  .hero-visual {
    height: min(36vh, 300px);
  }

  .phone-mockup {
    width: min(52vw, 240px);
    max-height: min(34vh, 290px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 16px 18px;
  }

  .brand {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 46px;
    width: 100%;
  }

  .trust-row {
    gap: 8px;
    margin-top: 14px;
  }

  .trust-row span {
    font-size: 12px;
  }

  .hero-visual {
    height: min(24vh, 190px);
  }

  .phone-mockup {
    width: min(44vw, 150px);
    max-height: min(23vh, 180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
