/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  background: #0a0f1f;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* -----------------------------------
   PAGE 1 — HERO
----------------------------------- */
.hero {
  height: 100vh;
  background: url("images/robotbackground.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20vh;
  text-align: center;
  transition: background-position 0.4s ease;
}

/* Hero Button */
.hero-btn {
  padding: 18px 42px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  background: #0b3d91;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 0 18px rgba(11,61,145,0.45);
  animation: pulse 2.4s infinite ease-in-out;
}

.hero-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(11,61,145,0.75);
}

/* Floating “Need help?” button */
#floatingHelp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ff6f61;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255,111,97,0.6);
  transition: 0.3s ease;
  animation: float 3s infinite ease-in-out;
  z-index: 999;
}

#floatingHelp:hover {
  transform: scale(1.12);
  box-shadow: 0 0 28px rgba(255,111,97,0.9);
}

/* -----------------------------------
   PAGE 2 — BACKGROUND
----------------------------------- */
.page2-bg {
  background: url("images/backgroundsecond.png") center top / contain no-repeat;
  width: 100%;
  min-height: 100vh;
  padding-top: 4rem;
  position: relative;
  transition: background-position 0.4s ease;
}

.page2-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(1px);
  z-index: 1;
}

.page2-bg > * {
  position: relative;
  z-index: 2;
}

/* -----------------------------------
   TWO COLUMN LAYOUT
----------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* -----------------------------------
   FROSTED BOXES
----------------------------------- */
.frosted-box {
  background: rgba(40,60,140,0.55);
  backdrop-filter: blur(1px) saturate(200%);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid rgba(40,60,140,0.75);
  box-shadow:
    0 0 18px rgba(40,60,140,0.65),
    0 0 32px rgba(40,60,140,0.45);
}

.frosted-box h2,
.frosted-box h3,
.frosted-box p,
.frosted-box span,
.frosted-box label {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0,0,0,0.35);
}

/* Extra spacing under “Help needed?” */
.extra-space {
  height: 22px;
}

/* -----------------------------------
   HOW IT WORKS — INDIVIDUAL CARDS
----------------------------------- */
.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.how-card {
  border-radius: 18px;
  padding: 1.5rem;
}

/* -----------------------------------
   FORM
----------------------------------- */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

input,
select,
textarea,
input[type="file"] {
  padding: 0.75rem;
  border: 1px solid rgba(40,60,140,0.5);
  background: rgba(255,255,255,0.55);
  border-radius: 12px;
  font-size: 1rem;
  color: #000;
}

.btn-primary {
  padding: 12px 28px;
  background: #1e3fa8;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 700;
}

.btn-primary:hover {
  background: #162f82;
}

/* -----------------------------------
   LOZENGE CONTAINERS
----------------------------------- */
.lozenge {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  border-radius: 30px;
  padding: 2.5rem;
}

/* -----------------------------------
   FAQ GRID — 3 PER ROW
----------------------------------- */
.faq-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.faq-box {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 22px rgba(255,255,255,0.4);
}
.faq-lozenge {
  margin-bottom: 3rem; /* half-row spacing */
}

.faq-box h3 {
  margin-bottom: 0.75rem; /* adds clean space between question and answer */
}

.faq-box p {
  line-height: 1.55;
}



/* -----------------------------------
   FEEDBACK — 3 COLUMNS, 2 ROWS, LOZENGE CARDS
----------------------------------- */
.feedback-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.feedback-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.feedback-list {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feedback-item {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feedback-item:active {
  transform: translateY(-6px);
  box-shadow: 0 0 22px rgba(255,255,255,0.4);
}


/* Each feedback item becomes its own frosted lozenge */
.feedback-item {
  background: rgba(40,60,140,0.55);
  backdrop-filter: blur(18px) saturate(180%);
  border-radius: 18px;
  padding: 1.2rem;
  border: 2px solid rgba(40,60,140,0.75);
  box-shadow:
    0 0 14px rgba(40,60,140,0.45),
    0 0 22px rgba(40,60,140,0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.35s ease;
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  text-shadow: 0 0 6px rgba(255,215,0,0.6);
  margin-bottom: 0.4rem;
}

/* -----------------------------------
   FOOTER
----------------------------------- */
.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  margin-top: 3rem;
}

/* -----------------------------------
   ANIMATIONS
----------------------------------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 1200px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .feedback-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .faq-lozenge,
  .feedback-lozenge,
  .form-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feedback-box {
    width: 100%;
  }

  .feedback-list {
    grid-template-columns: 1fr;
  }

  .hero-btn {
    font-size: 1.1rem;
  }
}
