/* =============================================
   AGTAG USA — CUSTOM HOMEPAGE STYLES
   Paste into Elementor > Site Settings > Custom CSS
   or enqueued automatically via child theme functions.php
   ============================================= */

/* ---- HERO SECTION ---- */
.ag-hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.ag-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(75,173,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.ag-hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}
.ag-hero h1 em {
  font-style: normal;
  color: var(--green-mid);
}
.ag-hero-sub {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.ag-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-light);
  color: var(--amber);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px 5px 10px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.ag-hero-tag-dot {
  width: 18px; height: 18px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.ag-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ag-hero-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-muted);
}
.ag-hero-proof-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--green-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--green-dark);
  margin-right: -8px;
}

/* ---- HERO DEMO CARD ---- */
.ag-hero-demo-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ag-hero-demo-header {
  background: var(--green-dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ag-hero-demo-header-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.ag-hero-demo-timer {
  font-size: 12px;
  font-weight: 500;
  color: var(--green-bright);
  background: rgba(75,173,42,0.15);
  padding: 4px 10px;
  border-radius: 20px;
}
.ag-hero-demo-body { padding: 20px; }
.ag-demo-progress-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.ag-demo-dot { height: 4px; flex: 1; border-radius: 2px; background: var(--border); }
.ag-demo-dot.done { background: var(--green-bright); }
.ag-demo-dot.active { background: var(--green-mid); }
.ag-demo-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ag-demo-field-label { font-size: 11px; color: var(--ink-faint); }
.ag-demo-field-value { font-size: 13px; font-weight: 500; color: var(--ink); }
.ag-demo-label-preview {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.ag-demo-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-dark);
  display: inline-block;
  margin-right: 4px;
  margin-top: 8px;
}

/* ---- STATS STRIP ---- */
.ag-stats-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.ag-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.ag-stat-label {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---- HOW IT WORKS ---- */
.ag-how-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ag-how-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.ag-how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--green-light);
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.ag-how-time-badge {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}
.ag-how-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.ag-how-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

/* ---- DEMO SECTION (dark bg) ---- */
.ag-demo-section {
  background: var(--green-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.ag-demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(75,173,42,0.15) 0%, transparent 60%);
}
.ag-demo-section h2 { color: #fff; }
.ag-demo-section p { color: rgba(255,255,255,0.65); }
.ag-demo-embed-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

/* ---- COMPARISON TABLE ---- */
.ag-comparison-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.ag-comparison-col.them { opacity: 0.75; }
.ag-comparison-col.us {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px var(--green-light);
}
.ag-comparison-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ag-comparison-col.them .ag-comparison-header { background: #F5F3F0; }
.ag-comparison-col.us .ag-comparison-header { background: var(--green-dark); }
.ag-comparison-col.them .ag-comparison-header h3 { color: var(--ink-muted); }
.ag-comparison-col.us .ag-comparison-header h3 { color: #fff; }
.ag-comparison-rec-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--green-bright);
  color: #fff;
}
.ag-comparison-list {
  list-style: none;
  background: var(--surface);
  margin: 0;
  padding: 0;
}
.ag-comparison-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 14px;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--border);
}
.ag-comparison-list li:last-child { border-bottom: none; }
.ag-comparison-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.ag-comparison-icon.no { background: #FEE2E2; color: #DC2626; }
.ag-comparison-icon.yes { background: var(--green-light); color: var(--green-dark); }

/* ---- PRICING ---- */
.ag-pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.ag-pricing-card.popular {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px var(--green-light), var(--shadow-md);
}
.ag-pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.ag-pricing-num {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
}
.ag-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ag-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-mid);
  padding: 5px 0;
}
.ag-pricing-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- FAQ ---- */
.ag-faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
}
.ag-faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.ag-faq-question:hover { background: var(--green-pale); }
.ag-faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.ag-faq-item.open .ag-faq-answer { display: block; }

/* ---- FOOTER CTA BANNER ---- */
.ag-footer-cta {
  background: var(--green-dark);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ag-footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(75,173,42,0.2) 0%, transparent 60%);
}
.ag-footer-cta h2 { color: #fff; position: relative; }
.ag-footer-cta p { color: rgba(255,255,255,0.6); position: relative; }
.ag-footer-cta .ag-btn-primary {
  background: #fff;
  color: var(--green-dark);
  position: relative;
}
.ag-footer-cta .ag-btn-primary:hover { background: var(--green-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .ag-hero h1 { font-size: 36px; }
  .ag-hero-demo-card { display: none; }
}
