/* ============================================================
   home_landing.css — Restored AgRhythm landing page
   ============================================================ */

html, body { overflow: auto !important; height: auto !important; }

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

#homePage {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a2a1a;
  background: #f5f8f3;
  min-height: 100vh;
}

.hh-hero {
  background: linear-gradient(160deg, #1a3a1a 0%, #2d5a2d 55%, #3d7a3d 100%);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
  position: relative;
  overflow: hidden;
}

.hh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hh-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.hh-logo {
  font-size: 56px;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

.hh-brand {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.hh-tagline {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin-top: 4px;
  margin-bottom: 8px;
}

.hh-open-btn {
  display: inline-block;
  background: #fff;
  color: #2d5a2d;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 8px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hh-hero-actions {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.hh-open-btn {
  width: 100%;
}

.hh-open-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  box-shadow: none;
}

.hh-open-btn:active { transform: scale(0.97); }

.hh-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}

.hh-scroll-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 40px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hh-section {
  padding: 52px 20px;
}

.hh-section-alt {
  background: #fff;
}

.hh-section-inner {
  max-width: 560px;
  margin: 0 auto;
}

.hh-section-title {
  font-size: 24px;
  font-weight: 900;
  color: #1a2a1a;
  margin: 0 0 6px 0;
  text-align: center;
}

.hh-section-sub {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

.hh-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 480px) {
  .hh-feat-grid { grid-template-columns: repeat(3, 1fr); }
}

.hh-feat-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 14px 16px;
  border: 1.5px solid #e8f0e4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(45,90,45,0.06);
}

.hh-feat-icon {
  font-size: 28px;
  margin-bottom: 2px;
}

.hh-feat-name {
  font-size: 13px;
  font-weight: 800;
  color: #1a2a1a;
}

.hh-feat-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.hh-coming {
  display: inline-block;
  background: #e8f0e4;
  color: #2d5a2d;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 2px;
}

.hh-reg-inner { text-align: center; }

.hh-reg-card {
  background: #f5f8f3;
  border-radius: 22px;
  padding: 28px 24px;
  border: 1.5px solid #d4e8c8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.hh-field {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d4e8c8;
  border-radius: 14px;
  font-size: 15px;
  background: #fff;
  color: #1a2a1a;
  outline: none;
  transition: border-color 0.15s;
}

.hh-field:focus { border-color: #2d5a2d; }
.hh-field::placeholder { color: #bbb; }

.hh-btn-primary {
  width: 100%;
  padding: 16px;
  background: #2d5a2d;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.15s;
}

.hh-btn-primary:active { opacity: 0.85; }
.hh-btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.hh-btn-primary-link {
  display: block;
  text-align: center;
  text-decoration: none;
}

.hh-divider {
  text-align: center;
  font-size: 12px;
  color: #bbb;
  position: relative;
}

.hh-btn-ghost {
  display: block;
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #2d5a2d;
  border: 1.5px solid #c8e8a8;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.hh-btn-ghost:hover { background: #f0f8ec; }

.hh-reg-msg {
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  padding: 8px 12px;
  border-radius: 10px;
  display: none;
}

.hh-reg-msg.err { display: block; background: #ffeaea; color: #c0392b; }
.hh-reg-msg.ok  { display: block; background: #eaffea; color: #1a6a1a; }

.hh-how-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.hh-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hh-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2d5a2d;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hh-step-text { font-size: 14px; color: #444; line-height: 1.55; }

.hh-step-text strong {
  display: block;
  font-size: 15px;
  color: #1a2a1a;
  font-weight: 800;
  margin-bottom: 2px;
}

.hh-footer {
  background: #1a2a1a;
  color: rgba(255,255,255,0.5);
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-align: center;
}

.hh-footer-links { display: flex; gap: 18px; }

.hh-footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.hh-footer-links a:hover { color: #fff; }