@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --blue: #1769e0;
  --violet: #7948d8;
  --coral: #ff5f45;
  --text: #11234d;
  --muted: #607092;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { min-width: 320px; height:100%; min-height: 100%; }
html { background: #eef5ff; }
body {
  color: var(--text);
  font-family: Outfit, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 18%, rgba(23, 105, 224, 0.17), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 95, 69, 0.15), transparent 25%),
    radial-gradient(circle at 78% 88%, rgba(121, 72, 216, 0.12), transparent 28%),
    linear-gradient(150deg, #f8fbff, #eaf2ff 52%, #fff3ee);
  background-attachment: fixed;
}
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(23, 105, 224, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}
a { color: inherit; font: inherit; text-decoration: none; }
.app-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  height:100%;
  min-height: 100%;
  padding-bottom: 30px;
  overflow-x: hidden;
}
.container {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: min(100% - 28px, 760px);
  height:100%;
  min-height: 100%;
  margin: 0 auto;
}
.start {
  position: relative;
  display: flex;
  min-height: min(780px, calc(100vh - 110px));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 7vw, 64px) clamp(18px, 5vw, 48px);
  text-align: center;
  animation: rise-in 0.65s ease both;
}
.start__eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.start__title {
  max-width: 650px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 8vw, 66px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.start__visual {
  position: relative;
  display: grid;
  width: min(78vw, 370px);
  margin: 10px auto 4px;
  place-items: center;
}
.start__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 250px;
  animation: brain-float 4.4s ease-in-out infinite;
}
.start__orb {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.32;
}
.start__orb--blue { left: 3%; background: var(--blue); }
.start__orb--coral { right: 3%; background: var(--coral); }
.start__text {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(15px, 2.6vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}
.start__btn-wrapper { width: 100%; margin: 26px auto 0; }
.start-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 390px;
  min-height: 62px;
  padding: 14px 28px;
  border-radius: 18px;
  background: linear-gradient(110deg, var(--blue), var(--violet) 48%, var(--coral));
  box-shadow: 0 16px 34px rgba(47, 83, 180, 0.27);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.start-button::after {
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 28%;
  content: "";
  background: rgba(255, 255, 255, 0.36);
  animation: sheen 3.2s ease-in-out infinite;
}
.start-button:hover { transform: translateY(-3px); box-shadow: 0 22px 42px rgba(47, 83, 180, 0.34); }
.start-button[aria-disabled="true"] { pointer-events: none; }
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 550px;
  padding: 0 16px;
  margin: 0 auto;
  color: gray;
  font-size: 11px;
  line-height: normal;
}
.footer p { margin: 0; text-align: center; }
.footer a { color: inherit; text-decoration: none; }
@keyframes brain-float {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 18px 24px rgba(23, 105, 224, 0.2)); }
  50% { transform: translateY(-9px) rotate(1deg); filter: drop-shadow(0 27px 30px rgba(255, 95, 69, 0.2)); }
}
@keyframes sheen { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (orientation: landscape) { .start { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
