/* ============================================================
   GrowupHost — Premium Hero  |  style-hero.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Beat global section{padding} and font overrides ── */
section.gh-hero {
  font-family: 'Inter', sans-serif !important;
  background: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 100px 0 0 !important;
  margin: 0 !important;
}

/* Beat body,div,span,p font override from header.php */
.gh-hero,
.gh-hero * {
  font-family: 'Inter', sans-serif !important;
  box-sizing: border-box;
}

/* Beat h1{font-weight:700!important} from header.php */
.gh-hero h1 { font-weight: 900 !important; }

/* ── Animated dot-grid background ── */
section.gh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,0.1) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  animation: gh-grid-move 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes gh-grid-move {
  0%   { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

/* ── Blue glow blob top-right ── */
section.gh-hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 65%);
  border-radius: 50%;
  animation: gh-blob 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes gh-blob {
  0%,100% { transform: scale(1) translate(0,0); }
  50%      { transform: scale(1.15) translate(-15px,15px); }
}

/* ── Wrapper ── */
.gh-hero-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ── Two-column grid ── */
.gh-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 580px;
}

/* ============================================================
   LEFT — TEXT COLUMN
   ============================================================ */
.gh-hero-left {
  animation: gh-fadeup 0.7s 0.1s cubic-bezier(.22,1,.36,1) both;
}
.gh-hero-right {
  animation: gh-fadeup 0.7s 0.25s cubic-bezier(.22,1,.36,1) both;
}
@keyframes gh-fadeup {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Live badge ── */
.gh-live-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  animation: gh-fadeup 0.6s 0.2s cubic-bezier(.22,1,.36,1) both;
}
.gh-live-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: gh-ping 1.8s ease-in-out infinite;
}
@keyframes gh-ping {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}

/* ── Headline ── */
.gh-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  animation: gh-fadeup 0.7s 0.3s cubic-bezier(.22,1,.36,1) both;
}

/* Highlighted word with animated underline */
.gh-hl {
  color: #2563eb !important;
  position: relative;
  display: inline-block;
}
.gh-hl::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
  background-size: 200%;
  border-radius: 2px;
  animation: gh-sweep 2.5s linear infinite;
}
@keyframes gh-sweep {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

/* ── Word-cycle text animation ── */
.gh-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.15em;
}
.gh-word-wrap span {
  display: block;
  color: #2563eb !important;
  font-weight: 900 !important;
  animation: gh-cycle 9s steps(1) infinite;
}
@keyframes gh-cycle {
  0%,30%  { transform: translateY(0%);    opacity: 1; }
  32%     { transform: translateY(-5%);   opacity: 0; }
  33%,63% { transform: translateY(-100%); opacity: 1; }
  65%     { transform: translateY(-105%); opacity: 0; }
  66%,96% { transform: translateY(-200%); opacity: 1; }
  98%     { transform: translateY(-205%); opacity: 0; }
  99%,100%{ transform: translateY(0%);    opacity: 1; }
}

/* ── Subtitle ── */
.gh-hero-sub {
  font-size: 1.05rem !important;
  color: #475569 !important;
  line-height: 1.8 !important;
  margin-bottom: 28px;
  max-width: 500px;
  animation: gh-fadeup 0.7s 0.4s cubic-bezier(.22,1,.36,1) both;
}
.gh-hero-sub strong { color: #0f172a !important; }

/* ── Feature pills ── */
.gh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
  animation: gh-fadeup 0.7s 0.5s cubic-bezier(.22,1,.36,1) both;
}
.gh-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 13px;
  border-radius: 10px;
  cursor: default;
  transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
}
.gh-pill:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.12);
}
.gh-pill svg {
  width: 14px; height: 14px;
  stroke: #2563eb;
  fill: none;
  flex-shrink: 0;
  transition: transform .3s;
}
.gh-pill:hover svg { transform: scale(1.25) rotate(-8deg); }

/* ── Buttons ── */
.gh-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
  animation: gh-fadeup 0.7s 0.6s cubic-bezier(.22,1,.36,1) both;
}
.gh-btn-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
  transition: background .3s, transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
  border: none !important;
}
.gh-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.gh-btn-primary:hover::before { left: 160%; }
.gh-btn-primary:hover {
  background: #1d4ed8 !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37,99,235,0.45);
  color: #fff !important;
}
.gh-btn-primary svg { transition: transform .3s; fill: none; stroke: #fff; }
.gh-btn-primary:hover svg { transform: translateX(4px); }

.gh-btn-ghost {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  color: #1e293b !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1 !important;
  text-decoration: none !important;
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.gh-btn-ghost:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #eff6ff !important;
  transform: translateY(-2px);
}

/* ── Trust row ── */
.gh-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: gh-fadeup 0.7s 0.72s cubic-bezier(.22,1,.36,1) both;
}
.gh-avatars { display: flex; }
.gh-av {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2.5px solid #fff !important;
  margin-left: -9px;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: flex; align-items: center; justify-content: center;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform .2s;
}
.gh-av:first-child { margin-left: 0; }
.gh-av:hover { transform: translateY(-3px) scale(1.1); z-index: 5; }
.gh-av-1 { background: #2563eb !important; }
.gh-av-2 { background: #7c3aed !important; }
.gh-av-3 { background: #059669 !important; }
.gh-av-4 { background: #d97706 !important; }
.gh-stars { color: #f59e0b !important; font-size: 13px !important; letter-spacing: 2px; margin-bottom: 2px; }
.gh-trust-txt { font-size: 12.5px !important; color: #64748b !important; font-weight: 500 !important; }
.gh-trust-txt strong { color: #0f172a !important; font-weight: 700 !important; }

/* ============================================================
   RIGHT — DASHBOARD VISUAL
   ============================================================ */
.gh-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gh-glow {
  position: absolute;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(37,99,235,0.09) 0%, transparent 68%);
  border-radius: 50%;
  animation: gh-blob 6s ease-in-out infinite;
  pointer-events: none;
}

/* ── Dashboard card ── */
.gh-dash {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(15,23,42,0.05), 0 20px 48px rgba(15,23,42,0.1);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: gh-float 6s ease-in-out infinite;
}
@keyframes gh-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.gh-dash-bar {
  background: #0f172a !important;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gh-dots { display: flex; gap: 6px; }
.gh-dot { width: 11px; height: 11px; border-radius: 50%; transition: transform .2s; }
.gh-dot:hover { transform: scale(1.3); }
.gh-dot-r { background: #ef4444 !important; }
.gh-dot-y { background: #f59e0b !important; }
.gh-dot-g { background: #22c55e !important; animation: gh-ping 2s ease-in-out infinite; }
.gh-url {
  flex: 1;
  background: #1e293b !important;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px !important;
  color: #94a3b8 !important;
  font-family: monospace !important;
}
.gh-dash-body { padding: 18px; }

/* Stats */
.gh-db-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.gh-db-stat {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
  animation: gh-popin 0.5s cubic-bezier(.22,1,.36,1) both;
}
.gh-db-stat:nth-child(1) { animation-delay: .5s; }
.gh-db-stat:nth-child(2) { animation-delay: .65s; }
.gh-db-stat:nth-child(3) { animation-delay: .8s; }
@keyframes gh-popin {
  from { opacity: 0; transform: scale(.8); }
  to   { opacity: 1; transform: scale(1); }
}
.gh-db-stat:hover {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.1);
}
.gh-db-stat-val {
  font-size: 19px !important; font-weight: 800 !important;
  line-height: 1; margin-bottom: 4px; color: #0f172a !important;
}
.gh-db-stat-val.c-blue   { color: #2563eb !important; }
.gh-db-stat-val.c-green  { color: #059669 !important; }
.gh-db-stat-val.c-purple { color: #7c3aed !important; }
.gh-db-stat-lbl {
  font-size: 9.5px !important; color: #94a3b8 !important;
  font-weight: 700 !important; text-transform: uppercase; letter-spacing: .6px;
}
.gh-sec-lbl {
  font-size: 10px !important; font-weight: 800 !important;
  color: #94a3b8 !important; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 9px;
}

/* Clients */
.gh-clients { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.gh-client {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 10px;
  transition: background .25s, border-color .25s, transform .25s;
  animation: gh-fadeup 0.5s cubic-bezier(.22,1,.36,1) both;
}
.gh-client:nth-child(1) { animation-delay: .6s; }
.gh-client:nth-child(2) { animation-delay: .75s; }
.gh-client:nth-child(3) { animation-delay: .9s; }
.gh-client:hover { background: #eff6ff !important; border-color: #bfdbfe !important; transform: translateX(4px); }
.gh-client-av {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px !important; font-weight: 800 !important; color: #fff !important;
  flex-shrink: 0;
}
.gh-client-info { flex: 1; min-width: 0; }
.gh-client-name { font-size: 12px !important; font-weight: 700 !important; color: #0f172a !important; }
.gh-client-plan { font-size: 10px !important; color: #94a3b8 !important; margin-top: 1px; }
.gh-status {
  font-size: 10px !important; font-weight: 700 !important;
  padding: 3px 9px; border-radius: 20px; flex-shrink: 0;
}
.gh-status-on  { background: #dcfce7 !important; color: #15803d !important; }
.gh-status-new { background: #eff6ff !important; color: #1d4ed8 !important; }

/* Revenue */
.gh-revenue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
  animation: gh-fadeup 0.6s 1s cubic-bezier(.22,1,.36,1) both;
}
.gh-revenue::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  animation: gh-shimmer 3s ease-in-out infinite;
}
@keyframes gh-shimmer {
  0%  { left: -100%; }
  60% { left: 160%; }
  100%{ left: 160%; }
}
.gh-rev-lbl  { font-size: 10px !important; color: rgba(255,255,255,.75) !important; font-weight: 600 !important; margin-bottom: 3px; }
.gh-rev-val  { font-size: 22px !important; font-weight: 900 !important; color: #fff !important; line-height: 1; }
.gh-rev-grow { font-size: 11px !important; color: #86efac !important; font-weight: 700 !important; margin-top: 3px; }
.gh-rev-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  animation: gh-bounce 2s ease-in-out infinite;
}
@keyframes gh-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ── Floating badges ── */
.gh-fbadge {
  position: absolute;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: 9px 13px;
  box-shadow: 0 8px 28px rgba(15,23,42,0.1);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px !important; font-weight: 700 !important; color: #0f172a !important;
  white-space: nowrap; z-index: 4;
  transition: transform .3s, box-shadow .3s;
}
.gh-fbadge:hover { transform: scale(1.07) !important; box-shadow: 0 14px 36px rgba(15,23,42,0.15); }
.gh-fbadge-1 { top: 20px;    left: -30px;  animation: gh-up   3.5s ease-in-out infinite; }
.gh-fbadge-2 { bottom: 80px; right: -20px; animation: gh-down 4s   ease-in-out infinite; }
.gh-fbadge-3 { bottom: -10px; left: 20px;  animation: gh-up   5s   ease-in-out infinite; }
@keyframes gh-up   { 0%,100%{ transform:translateY(0); }  50%{ transform:translateY(-9px); } }
@keyframes gh-down { 0%,100%{ transform:translateY(0); }  50%{ transform:translateY(9px); }  }
.gh-ficon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gh-ficon-g { background: #dcfce7 !important; }
.gh-ficon-b { background: #eff6ff !important; }
.gh-ficon-o { background: #fff7ed !important; }
.gh-ficon svg { display: block; }

/* ── Wave ── */
.gh-wave { position: relative; margin-top: 64px; line-height: 0; }
.gh-wave svg { display: block; width: 100%; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .gh-hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .gh-hero-sub  { margin: 0 auto 28px; }
  .gh-pills, .gh-btns, .gh-trust { justify-content: center; }
  .gh-fbadge-1 { left: 0; }
  .gh-fbadge-2 { right: 0; }
}
@media (max-width: 600px) {
  section.gh-hero { padding: 80px 0 0 !important; }
  .gh-hero-title { font-size: 2rem !important; }
  .gh-fbadge-1,.gh-fbadge-2,.gh-fbadge-3 { display: none; }
  .gh-btns { flex-direction: column; }
  .gh-btn-primary,.gh-btn-ghost { width: 100%; justify-content: center; }
}
