* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f8f9fa; color: #333; line-height: 1.6; }

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
}
header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.tagline { font-size: 1.2rem; opacity: 0.9; }

main { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

section { margin-bottom: 50px; }
section h2 { text-align: center; margin-bottom: 30px; color: #444; }

.steps { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.step { text-align: center; flex: 1; min-width: 150px; }
.step-num { 
  display: inline-block; 
  width: 40px; height: 40px; 
  background: #667eea; color: white; 
  border-radius: 50%; 
  line-height: 40px; 
  font-weight: bold; 
  margin-bottom: 10px;
}

.plan-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.plan-card { 
  background: white; 
  border-radius: 12px; 
  padding: 30px; 
  width: 200px; 
  text-align: center; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.plan-card.disabled { opacity: 0.6; }
.plan-card h3 { margin-bottom: 10px; }
.slots { color: #666; margin-bottom: 15px; }
.price { font-size: 1.2rem; font-weight: bold; color: #667eea; }

.beta { 
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}
.beta h2 { color: white; }
.beta p { margin: 15px 0; }

.btn-primary {
  display: inline-block;
  background: white;
  color: #f5576c;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 20px 0;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}
.btn-primary:hover { transform: scale(1.05); }
.beta-features { font-size: 0.9rem; opacity: 0.9; }

.download { text-align: center; }
.btn-download {
  display: inline-block;
  background: #333;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  margin: 10px;
}
.btn-download:hover { background: #555; }
.mirrors { margin-top: 15px; font-size: 0.9rem; color: #666; }
.mirror-link { color: #667eea; text-decoration: none; margin: 0 5px; }
.mirror-link:hover { text-decoration: underline; }
.download-note { font-size: 0.9rem; color: #666; margin-top: 15px; }

footer { text-align: center; padding: 30px; color: #666; }

/* Test init page styles */
.container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
}
.container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #667eea;
}
.hidden { display: none !important; }
.note { font-size: 0.9rem; color: #666; margin-top: 15px; }
.warning { color: #f5576c; font-weight: bold; margin: 15px 0; }
.error { background: #fee; color: #c00; padding: 15px; border-radius: 8px; margin: 15px 0; }
#qr-image { max-width: 250px; display: block; margin: 20px auto; }
.token-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}
.token-display code {
  background: #f0f0f0;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-family: monospace;
}
#copy-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
#copy-btn:hover { background: #5568d8; }
#result h2, #result h3 { color: #333; margin: 20px 0 10px; }
#result ol { margin-left: 20px; }
#result ol li { margin: 8px 0; }
.form-group {
  margin: 15px 0;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}
.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}
.checkbox-group { margin: 20px 0; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #555;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}
#generate-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  padding: 15px;
  font-size: 1.1rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
#generate-btn:hover { background: #5568d8; }
#generate-btn:disabled { background: #ccc; cursor: not-allowed; }
