/* ========== WELCOME PAGE STYLES ========== */

/* --- Hero --- */
.hero { padding: 80px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 28px;
  color: #dcebfb;
}
.accent { color: #2f7bff; }
.lead {
  color: #a4adbf;
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 40px;
}
.claim-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  flex-wrap: nowrap;
}
.claim-input {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px 16px 4px 4px;
}
.claim-input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
}
.claim-input .suffix {
  color: #6b7280;
  font-size: 15px;
  white-space: nowrap;
}
.hero-media {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-tilt-wrapper {
  position: relative;
  padding: 12px;
  background: linear-gradient(to right, #c7d2fe, #fbcfe8, #e9d5ff);
  border-radius: 24px;
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  cursor: pointer;
}
.hero-image-tilt {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #14181c;
}
.hero-image-tilt-wrapper:hover {
  box-shadow: 0 20px 40px rgba(47,123,255,0.4);
}

/* --- Features --- */
.features {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.features p {
  color: #d7e0fa;
}
.features .section-head p {
  color: #d9e0fa;
}
.feature-glow {
  position: absolute;
  top: 0;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.15) 0%, rgba(138, 43, 226, 0.1) 40%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .feature-glow {
    width: 600px;
    height: 600px;
  }
}
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: #dcebfb;
}
.section-head p {
  color: #a4adbf;
  font-size: 17px;
  margin: 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-media img {
  width: 100%;
  border-radius: 14px;
}
.feature-copy h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  color: #dcebfb;
}
.feature-copy p {
  color: #d7e0fa;
  margin: 0 0 24px;
  font-size: 16px;
}
.feature-copy ul {
  padding-left: 20px;
  margin: 0;
  color: #ffffff;
}
.feature-copy li {
  margin-bottom: 10px;
  font-size: 15.5px;
  color: #d7e0fa;
}

/* --- FAQ --- */
.faq { padding: 80px 0 100px; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 22px 26px;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 17px;
  gap: 16px;
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  overflow: hidden;
}
.faq-content p {
  min-height: 0;
}
details[open] .faq-content {
  grid-template-rows: 1fr;
}
.faq-list summary::-webkit-details-marker { display: none; }
.chev {
  width: 12px; height: 12px;
  border-right: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-right: 6px;
}
details[open] .chev { transform: rotate(-135deg); margin-top: 6px; }
.faq-list details p {
  color: #d7e0fa;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .hero {
    padding: 64px 0 80px;
  }

  .hero-grid,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-media {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .feature-row {
    margin-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 64px;
  }

  .hero-copy h1 br {
    display: none;
  }

  .lead,
  .section-head p {
    font-size: 16px;
  }

  .claim-form {
    flex-direction: column;
    max-width: none;
  }

  .claim-input {
    width: 100%;
    min-width: 0;
  }

  .claim-form .btn {
    width: 100%;
  }

  .features,
  .faq {
    padding: 56px 0 72px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .feature-copy h3 {
    margin-bottom: 14px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-list details {
    padding: 18px;
  }

  .faq-list summary {
    font-size: 16px;
  }
}
