* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000000;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  min-height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 38px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  width: 560px;
  max-width: 90vw;
  height: auto;
  display: block;
  margin: 0 auto 28px auto;
  mix-blend-mode: screen;
  filter: brightness(1.2) contrast(1.15);
  -webkit-mask-image: radial-gradient(
  ellipse at center,
  black 45%,
  rgba(0, 0, 0, 0.55) 60%,
  transparent 74%
);
mask-image: radial-gradient(
  ellipse at center,
  black 45%,
  rgba(0, 0, 0, 0.55) 60%,
  transparent 74%
);
}

.request-bar {
  width: min(680px, 84vw);
  height: 60px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px 0 24px;
  margin: 10px auto 38px;
  box-shadow: 0 0 40px rgba(255, 20, 147, 0.12);
  position: relative;
  z-index: 5;
}

.plus-icon {
  font-size: 30px;
  line-height: 1;
  color: #ffffff;
  font-weight: 300;
}

.request-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
}

.request-bar input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.request-status {
  min-height: 22px;
  margin: -22px 0 28px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.channel-choice {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: -12px 0 28px;
  transform: translateY(28px);
}

.channel-choice[hidden] {
  display: none;
}

.channel-choice button {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.channel-choice button:hover {
  background: rgba(255, 20, 147, 0.18);
  border-color: rgba(255, 20, 147, 0.45);
  color: #ffffff;
}

.voice-button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #000000;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.bottom-copy {
  margin-top: 0;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 20px;
}

.quote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
}

.terms {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}

.terms a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.copyright {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
    padding: 115px 16px 34px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .hero-video {
    width: min(78vw, 320px);
    max-width: none;
    margin: 55px auto 0;
    position: relative;
    left: auto;
    transform: none;
  }

  .request-bar {
    width: calc(100vw - 32px);
    height: 58px;
    margin: auto auto 22px;
    padding: 0 10px 0 18px;
  }

.channel-choice[hidden] {
    display: flex;
    visibility: hidden;
    pointer-events: none;
  }

.request-status {
    margin: -10px 0 0;
  }

.request-bar {
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.request-bar.is-thinking {
  border-color: rgba(255, 20, 147, 0.55);
  box-shadow:
    0 0 35px rgba(255, 20, 147, 0.22),
    0 0 90px rgba(255, 20, 147, 0.12);
  transform: scale(1.01);
}

.request-status.thinking::after {
  content: "";
  animation: dots 1.2s infinite;
}

@keyframes dots {
  0% {
    content: "";
  }
  33% {
    content: ".";
  }
  66% {
    content: "..";
  }
  100% {
    content: "...";
  }
}

  .request-bar input {
    font-size: 16px;
  }

  .plus-icon {
    font-size: 26px;
  }

  .voice-button {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .bottom-copy {
    margin-top: 14px;
    max-width: 390px;
    padding: 0 10px;
  }

  .quote {
    display: none;
  }

  .terms {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .copyright {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.2px;
  }
}

@media (min-width: 1600px) {
  .hero {
    padding-top: 90px;
  }

  .hero-video {
    width: 680px;
    margin-bottom: 32px;
  }

  .request-bar {
    width: min(780px, 84vw);
    height: 68px;
    margin: 16px auto 42px;
  }

  .bottom-copy {
    max-width: 900px;
  }
}

.legal-page {
  background: #000000;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, Helvetica, sans-serif;
}

.legal-content {
  width: min(820px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.legal-content h1 {
  margin: 32px 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -1.5px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  color: #ffffff;
}

.legal-content p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
}

.legal-content strong {
  color: rgba(255, 255, 255, 0.88);
}

.legal-content a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 20px;
}

.back-link:hover {
  color: #ffffff;
}

.legal-content ul {
  margin: 0 0 24px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.66);
}

.legal-content li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
}

.language-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 50;
  background: rgba(17, 17, 17, 0.72);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.language-toggle:hover {
  color: #ffffff;
  border-color: rgba(255, 20, 147, 0.5);
  box-shadow: 0 0 28px rgba(255, 20, 147, 0.16);
}

@media (max-width: 600px) {
  .language-toggle {
    top: 16px;
    right: 16px;
    padding: 9px 13px;
    font-size: 12px;
  }
}
