.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto 1.25rem;
  display: block;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  background: rgba(126, 225, 200, 0.1);
  border: 1px solid rgba(126, 225, 200, 0.2);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.hero-title .gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}
.home-container {
  max-width: 1180px;
}
#authedHome {
  display: none;
  max-width: 620px;
  margin: 0 auto;
}
#loading,
#error,
#fileDisplay {
  display: none;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.feature-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5rem;
  color: var(--accent);
}
.feature-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.feature-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.guest-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.seo-intro {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.25rem;
  text-align: center;
  background: rgba(126, 225, 200, 0.06);
  border: 1px solid rgba(126, 225, 200, 0.14);
  border-radius: var(--radius-lg);
}
.seo-intro h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.seo-intro p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.keyword-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.keyword-card h2 {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.keyword-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.google-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.google-signin:hover {
  color: var(--bg);
  background: #fff;
}
.google-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
}
.guest-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-signin {
  margin: 0 auto 1.35rem;
}
.hero-signin-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.secondary-signin {
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
}
.privacy-link {
  color: var(--text-dim);
  font-size: 0.82rem;
}
.privacy-link:hover {
  color: var(--text-muted);
}
.feedback-card {
  max-width: 620px;
  margin: 2rem auto 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.feedback-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.feedback-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.feedback-card label {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.8rem 0 0.35rem;
}
.feedback-card input,
.feedback-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev-2);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.8rem;
}
.feedback-card textarea {
  min-height: 110px;
  resize: vertical;
}
.feedback-card .hidden-field {
  display: none;
}
.feedback-status {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.screenshot-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-copy {
  padding: 1rem 1.1rem;
}
.screenshot-title {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.screenshot-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.file-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.upload-actions {
  text-align: center;
  margin-top: 1.25rem;
}
@media (max-width: 560px) {
  .hero-title { font-size: 1.85rem; }
  .features { grid-template-columns: 1fr; }
  .guest-cta { grid-template-columns: 1fr; }
  .keyword-grid { grid-template-columns: 1fr; }
  .google-signin { justify-content: center; }
}
