/* Testing Hub — Clean, neutral, mobile-first */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 24px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.95;
}

.hero-description strong {
  font-weight: 700;
}

/* Offer Banner */
.offer-banner {
  background: #5cb85c;
  padding: 10px 24px;
  text-align: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
}

/* Product */
.product {
  padding: 28px 24px;
  max-width: 500px;
  margin: 0 auto;
}

.product-name {
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.features {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.feature {
  display: flex;
  gap: 10px;
  align-items: center;
}

.feature-check {
  color: #5cb85c;
  font-weight: bold;
}

/* Purchase */
.purchase {
  background: #f0f0f5;
  padding: 28px 24px;
  text-align: center;
}

.pricing {
  margin-bottom: 6px;
}

.price-full {
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
}

.price-offer {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  margin-left: 10px;
}

.offer-text {
  font-size: 13px;
  color: #5cb85c;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Form */
#purchase-form {
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

#email-input {
  width: 100%;
  background: white;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 4px;
  outline: none;
  transition: border-color 0.2s;
}

#email-input:focus {
  border-color: #667eea;
}

#email-input.valid {
  border-color: #5cb85c;
}

#email-input.invalid {
  border-color: #e74c3c;
}

.error-text {
  font-size: 11px;
  color: #e74c3c;
  margin-bottom: 6px;
  display: none;
}

.tc-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11px;
  color: #777;
  margin: 10px 0 14px;
  cursor: pointer;
}

.tc-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #667eea;
}

.tc-label a {
  color: #667eea;
  text-decoration: underline;
}

#submit-btn {
  width: 100%;
  background: #c5c9d9;
  color: white;
  padding: 13px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: not-allowed;
  transition: background 0.2s, box-shadow 0.2s;
}

#submit-btn.active {
  background: #667eea;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

#submit-btn.active:hover {
  background: #5a5fd4;
}

.guarantee {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
}

/* Footer */
footer {
  border-top: 1px solid #e0e0e0;
  padding: 12px 24px;
  font-size: 10px;
  color: #aaa;
  text-align: center;
}

footer a {
  color: #aaa;
  text-decoration: underline;
}

/* Confirmation */
.confirmation {
  padding: 64px 24px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  background: #f0fdf4;
  border: 2px solid #5cb85c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #5cb85c;
  font-weight: bold;
}

.confirmation h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.confirmation p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Terms */
.terms {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
}

.terms h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.terms-updated {
  font-size: 13px;
  color: #999;
  margin-bottom: 28px;
}

.terms h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.terms p, .terms ul {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.terms ul {
  padding-left: 20px;
}
