/*
Theme Name: HeyGalAI Community Landing
Theme URI: https://heygalai.com/
Author: HeyGalAI
Author URI: https://heygalai.com/
Description: A warm WordPress landing page theme for building the HeyGalAI community and collecting registrations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heygalai-community-theme
*/

:root {
  --hg-plum: #4b173d;
  --hg-plum-dark: #331029;
  --hg-coral: #d96f5f;
  --hg-gold: #f2b84b;
  --hg-cream: #fff8f1;
  --hg-rose: #fbe5dc;
  --hg-text: #23151f;
  --hg-muted: #6d5967;
  --hg-white: #ffffff;
  --hg-border: rgba(75, 23, 61, 0.15);
  --hg-shadow: 0 24px 60px rgba(75, 23, 61, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hg-text);
  background: var(--hg-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.hg-container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.hg-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 241, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hg-border);
}
.hg-nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hg-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--hg-plum-dark); text-decoration: none; font-size: 1.1rem; }
.hg-logo-mark { width: 38px; height: 38px; border-radius: 14px; background: linear-gradient(135deg, var(--hg-plum), var(--hg-coral)); color: white; display: grid; place-items: center; box-shadow: var(--hg-shadow); }
.hg-menu { display: flex; align-items: center; gap: 20px; font-size: 0.95rem; color: var(--hg-muted); }
.hg-menu a { text-decoration: none; font-weight: 700; }
.hg-menu a:hover { color: var(--hg-plum); }
.hg-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 20px; text-decoration: none; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.hg-button:hover { transform: translateY(-2px); }
.hg-button-primary { background: var(--hg-plum); color: white; box-shadow: 0 14px 28px rgba(75, 23, 61, .18); }
.hg-button-secondary { background: white; color: var(--hg-plum); border-color: var(--hg-border); }
.hg-hero { padding: 86px 0 58px; background: radial-gradient(circle at top right, rgba(242, 184, 75, .28), transparent 36%), radial-gradient(circle at 10% 20%, rgba(217, 111, 95, .2), transparent 30%), var(--hg-cream); }
.hg-hero-grid, .hg-split, .hg-form-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hg-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--hg-coral); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.hg-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--hg-gold); border-radius: 99px; }
.hg-hero h1, .hg-section h2 { color: var(--hg-plum-dark); line-height: 1.04; letter-spacing: -.04em; margin: 0; }
.hg-hero h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); max-width: 820px; }
.hg-lead { color: var(--hg-muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; margin: 22px 0 0; max-width: 650px; }
.hg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hg-trust { margin-top: 18px; color: var(--hg-muted); font-weight: 650; }
.hg-hero-card { background: white; border: 1px solid var(--hg-border); border-radius: 34px; padding: 26px; box-shadow: var(--hg-shadow); }
.hg-hero-card img { width: 100%; border-radius: 24px; display: block; aspect-ratio: 4/3; object-fit: cover; }
.hg-card-note { margin-top: 18px; padding: 18px; background: var(--hg-rose); border-radius: 22px; }
.hg-card-note h2 { margin: 0 0 8px; color: var(--hg-plum-dark); font-size: 1.55rem; }
.hg-card-note p { margin: 0; color: var(--hg-muted); line-height: 1.55; }
.hg-section { padding: 72px 0; }
.hg-section h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.hg-section p { color: var(--hg-muted); line-height: 1.7; font-size: 1.05rem; }
.hg-pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hg-pill { border: 1px solid var(--hg-border); background: white; border-radius: 999px; padding: 10px 14px; color: var(--hg-plum); font-weight: 800; }
.hg-image-stack { display: grid; gap: 16px; }
.hg-image-stack img { width: 100%; border-radius: 28px; object-fit: cover; box-shadow: var(--hg-shadow); }
.hg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.hg-card { background: white; border: 1px solid var(--hg-border); border-radius: 28px; padding: 24px; box-shadow: 0 14px 34px rgba(75, 23, 61, .08); }
.hg-card strong { display: block; color: var(--hg-plum-dark); font-size: 1.12rem; margin-bottom: 8px; }
.hg-form-section { background: var(--hg-plum-dark); color: white; padding: 76px 0; }
.hg-form-section h2 { color: white; font-size: clamp(2rem, 4vw, 3.3rem); margin: 0; letter-spacing: -.04em; line-height: 1.05; }
.hg-form-section p { color: rgba(255,255,255,.78); line-height: 1.7; }
.hg-form { background: white; color: var(--hg-text); border-radius: 32px; padding: 26px; box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.hg-field { margin-bottom: 16px; }
.hg-field label { display: block; font-weight: 850; margin-bottom: 7px; color: var(--hg-plum-dark); }
.hg-field input, .hg-field select, .hg-field textarea { width: 100%; border: 1px solid var(--hg-border); border-radius: 16px; padding: 13px 14px; font: inherit; background: #fffdfb; color: var(--hg-text); }
.hg-field textarea { min-height: 104px; resize: vertical; }
.hg-consent { display: flex; gap: 10px; color: var(--hg-muted); font-size: .95rem; line-height: 1.5; margin: 12px 0 18px; }
.hg-consent input { margin-top: 4px; }
.hg-notice { border-radius: 16px; padding: 13px 14px; margin-bottom: 16px; font-weight: 800; }
.hg-notice-success { background: #eaf8ef; color: #176b35; }
.hg-notice-error { background: #ffe8e4; color: #8d2417; }
.hg-hidden { position: absolute; left: -10000px; }
.hg-footer { padding: 30px 0; color: var(--hg-muted); background: #fff2e7; }
.hg-footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hg-menu { display: none; }
  .hg-hero-grid, .hg-split, .hg-form-grid { grid-template-columns: 1fr; }
  .hg-cards { grid-template-columns: 1fr; }
  .hg-hero { padding-top: 56px; }
}
