/* sections.css — Hero, Features, How It Works, Pricing, FAQ, Footer */

/* ── Hero ────────────────────────────────────────────────────────────────── */

#hero {
  padding: 80px 0 96px;
  background: var(--bg);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1;
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-shortcuts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.shortcut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.hero-visual {
  flex-shrink: 0;
  width: 460px;
}

/* ── Mock browser ────────────────────────────────────────────────────────── */

.mock-browser {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.mock-browser-bar {
  height: 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #28c840; }

.mock-address {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 4px;
  padding: 3px 10px;
  margin: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-page {
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  min-height: 240px;
}

/* ── Hero mock content ───────────────────────────────────────────────────── */

.hero-mock-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-question {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.mock-choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mock-choice.selected {
  color: var(--primary);
  font-weight: 600;
}

/* ── Hero toast animation ────────────────────────────────────────────────── */

.hero-toast {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeInToast 0.5s ease 1.2s forwards;
}

@keyframes fadeInToast {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Features ────────────────────────────────────────────────────────────── */

#features {
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── How it works ────────────────────────────────────────────────────────── */

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-arrow {
  align-self: center;
  font-size: 1.5rem;
  color: var(--border);
  flex-shrink: 0;
  padding-bottom: 32px;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */

#pricing {
  background: var(--bg-alt);
}

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pricing-header {
  margin-bottom: 28px;
}

.pricing-name {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

#paypal-button-container {
  margin-top: 8px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  transition: background 0.15s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform 0.25s;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Mobile responsive ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-visual {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-row {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: 0 auto;
    padding-bottom: 0;
  }
}

/* ── Consent (pricing section) ── */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 16px;
  text-align: left;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.consent-label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.paypal-blocked {
  padding: 14px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* ── Pricing login gate ── */
#pricing-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0 8px;
}

.pricing-gate-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-gate-btn::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20H24v8h11.3C33.8 33 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3 0 5.7 1.1 7.8 2.9l5.7-5.7C34 6.5 29.3 4.5 24 4.5 13.2 4.5 4.5 13.2 4.5 24S13.2 43.5 24 43.5c10.8 0 19.5-8.7 19.5-19.5 0-1.2-.1-2.4-.4-4z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.5 16 18.9 13 24 13c3 0 5.7 1.1 7.8 2.9l5.7-5.7C34 6.5 29.3 4.5 24 4.5c-7.7 0-14.3 4.4-17.7 10.2z'/%3E%3Cpath fill='%234CAF50' d='M24 43.5c5.2 0 9.8-1.9 13.4-5.1l-6.2-5.2C29.3 34.9 26.8 36 24 36c-5.2 0-9.7-3-11.3-7.3l-6.6 5.1C9.6 39 16.3 43.5 24 43.5z'/%3E%3Cpath fill='%231976D2' d='M43.6 20H24v8h11.3c-.9 2.5-2.6 4.6-4.8 6l6.2 5.2c3.6-3.3 5.8-8.2 5.8-13.7 0-1.2-.1-2.4-.4-4h-.5z'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}

#pricing-checkout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
