/* Base font family - SF Pro is not on Google Fonts, using system stack */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --color-accent: #0071e3;
  --color-bg: #fff;
  --color-bg-light: #fffffc;
  --color-text-primary: #242424;
  --color-text-secondary: #6e6e73;
  --color-border: #d2d2d7;
  --radius-base: 0.5rem;
  --shadow-soft: rgba(0, 0, 0, 0.08);
  --transition-speed: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 80%; /* 1rem ≈ 14.4px (instead of zoom:0.9) */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-header {
  max-width: 45rem; /* 720px */
  margin: 7rem auto 0;
  padding: 0 1rem;
  text-align: center;
}

.tagline {
  display: inline-block;
  background: linear-gradient(90deg, #e2d9ff, #d3e9ff);
  color: #242424;
  font-size: 0.95rem; /* 16px */
  font-weight: 700;
  padding: 0.75rem 1rem; /* 12px 16px */
  border-radius: 999px;
}

.main-header h1 {
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.main-header p {
  font-weight: 400;
  font-size: 1.5rem; /* 24px */
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  max-width: 36.25rem; /* 580px */
  margin-left: auto;
  margin-right: auto;
}

.search-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 45rem; /* 720px */
  margin: 0 auto;
}

.search-container input {
  flex: 1 1 13.75rem; /* 220px */
  min-width: 11.25rem; /* 180px */
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  box-shadow: 0 1px 4px var(--shadow-soft);
  transition:
    border-color var(--transition-speed),
    box-shadow var(--transition-speed),
    transform var(--transition-speed);
  appearance: none;
}

.search-container input::placeholder {
  color: var(--color-text-secondary);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.search-container input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0.75rem rgba(0, 113, 227, 0.3); /* 12px */
  outline: none;
  transform: translateY(-0.1rem);
}

.search-container button {
  background: #242424;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-base);
  cursor: pointer;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-container button:hover,
.search-container button:focus {
  background: linear-gradient(90deg, #e2d9ff, #d3e9ff);
  color: #242424;
}

.search-container input:focus-visible,
.search-container button:focus-visible {
  outline: 0.125rem solid var(--color-accent);
  outline-offset: 0.125rem;
}

.question-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3.125rem; /* 50px */
}

.image-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.image-carousel img {
  width: 100%;
  height: auto;
  max-width: 87.5rem; /* 1400px */
  object-fit: contain;
  display: block;
  margin-top: -5.625rem; /* -90px */
}

.image-carousel::before,
.image-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.image-carousel::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.image-carousel::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.supporting-section {
  color: #000;
  padding: 3.75rem 2.5rem; /* 60px 40px */
}

.content-wrapper {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6.25rem; /* 100px */
  flex-wrap: wrap;
}

.text-content {
  max-width: 31.25rem; /* 500px */
  text-align: left;
}

.text-content h2 {
  font-size: 3rem; /* 48px */
  font-weight: 700;
  letter-spacing: -0.0625rem; /* -1px */
  margin-bottom: 1.25rem; /* 20px */
  color: #000;
}

.text-content p {
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  color: #333;
}

.image-content {
  flex: 1;
  max-width: 31.25rem; /* 500px */
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  width: 100%;
  height: auto;
  max-width: 31.25rem; /* 500px */
}

.spotlight-section {
  background: radial-gradient(circle at top, #1a1a1a, #000);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  margin: 4rem auto;
  border-radius: 2rem;
  max-width: 68.75rem; /* 1100px */
  position: relative;
  overflow: hidden;
}

.spotlight-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #242424;
  opacity: 0.2;
  z-index: 1;
}

.spotlight-content {
  position: relative;
  z-index: 2;
}

.spotlight-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.spotlight-content h2 span {
  background: linear-gradient(90deg, #ff5f9e, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spotlight-content p {
  font-size: 1.3rem;
  max-width: 43.75rem; /* 700px */
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  opacity: 0.9;
}

.spotlight-btn {
  display: inline-block;
  background: #fffffc;
  color: #242424;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 3.125rem; /* 50px */
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-btn:hover {
  background: #e5e5e5;
}

.faq-container {
  text-align: center;
  width: 100%;
  max-width: 41.25rem; /* 660px */
  margin: 7.5rem auto 11.25rem auto; /* 120px auto 180px */
  padding: 0 1.5rem;
}

.faq-container h1 {
  font-size: 2.6rem;
  margin-bottom: 1.875rem; /* 30px */
}

.faq {
  margin-bottom: 1.125rem; /* 18px */
}

.faq-question {
  font-size: 1.2rem;
  background-color: #242424;
  color: white;
  padding: 0.9375rem 1.25rem; /* 15px 20px */
  border-radius: 0.625rem; /* 10px */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  font-size: 1.25rem;
  display: none;
  text-align: left;
  padding: 0.9375rem 1.25rem; /* 15px 20px */
  background-color: #f3f3f3;
  border-radius: 0 0 0.625rem 0.625rem;
  color: #333;
}

.footer {
  background-color: #242424;
  color: white;
  padding: 2rem;
  border-radius: 2rem 2rem 0 0;
  margin: 6rem auto 0 auto;
  max-width: calc(100% - 3rem);
  box-sizing: border-box;
}

.footer-content {
  max-width: 60rem; /* 960px */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  width: 4rem;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-column a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Mobile-specific fixes */
@media (max-width: 680px) {
  .search-container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    gap: 1rem;
  }

  .search-container input,
  .search-container button {
    flex: none;
    width: 100%;
    min-width: auto;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    box-shadow: none;
  }

  .search-container input:focus {
    box-shadow: 0 0 0.375rem rgba(0, 113, 227, 0.25); /* 6px */
    transform: none;
  }

  .search-container button {
    padding: 1rem 0;
    font-size: 1rem;
    text-align: center;
  }

  .main-header h1 {
    font-size: 3.5rem;
    text-align: center;
  }

  .main-header p {
    font-size: 1.4rem;
    text-align: center;
  }

  .tagline {
    font-size: 0.875rem; /* 14px */
    padding: 0.75rem 0.875rem; /* 12px 14px */
  }
}

/* Tablet and smaller screens */
@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem; /* 40px */
  }

  .image-content {
    max-width: 100%;
    order: 2;
    justify-content: center;
    align-items: center;
  }

  .image-content img {
    width: 100%;
    height: auto;
    max-width: 31.25rem; /* 500px */
  }

  .text-content {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .image-carousel {
    margin-top: 0;
    min-height: 18.75rem; /* 300px */
  }

  .image-carousel img {
    width: 170%;
    max-width: none;
    height: auto;
    object-fit: cover;
    margin-top: 0;
  }

  .image-carousel::before,
  .image-carousel::after {
    width: 10%;
  }

  .spotlight-section {
    background: radial-gradient(circle at top, #1a1a1a, #000);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin: 6rem 1rem;
    border-radius: 2rem;
    max-width: 68.75rem; /* 1100px */
    position: relative;
    overflow: hidden;
  }
}
