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

body {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #202124;
  background: #f8f9fa;
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 60px auto;
  padding: 0 20px;
}

.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #34a853 0%, #1a73e8 100%);
  color: white;
}

.hero img {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px;
  margin-top: 24px;
}

.card h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #202124;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #5f6368;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: #1a73e8;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: #34a853;
  color: white;
}

.btn-primary:hover {
  background: #2d9249;
}

.btn-secondary {
  background: #1a73e8;
  color: white;
  margin-top: 10px;
}

.btn-secondary:hover {
  background: #1557b0;
}

.btn-outline {
  background: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
  margin-top: 10px;
}

.btn-outline:hover {
  background: #e8f0fe;
}

.error {
  color: #d93025;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.error.visible {
  display: block;
}

.success {
  color: #137333;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.success.visible {
  display: block;
}

.api-key-box {
  background: #f1f3f4;
  border-radius: 8px;
  padding: 14px 18px;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  word-break: break-all;
  margin: 12px 0;
  color: #202124;
  position: relative;
}

.copy-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #e8eaed;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
}

.copy-btn:hover {
  background: #dadce0;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 600px;
  margin: 30px auto;
  padding: 0 20px;
}

.feature {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.feature h3 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #34a853;
}

.feature p {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.5;
}

.links {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #5f6368;
}

.links a {
  color: #1a73e8;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.instructions {
  margin-top: 20px;
  padding: 16px;
  background: #f1f3f4;
  border-radius: 8px;
}

.instructions h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.instructions ol {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #5f6368;
}
