/* =========================================================
   GGR Website Audit – Premium v2.1
   Designed by Tech Zenith Labs / Yogesh Raghav
   ========================================================= */

/* ======================
   GLOBAL BASE
   ====================== */
.ggr-audit-page {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  background: #f8faff;
  color: #0f172a;
  overflow-x: hidden;
}

.ggr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

:root {
  --ggr-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --ggr-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
  --ggr-gradient: linear-gradient(90deg, #2563eb, #00bfa5);
}

/* Smooth transitions globally */
* { transition: all 0.3s ease; }

/* ======================
   HERO SECTION
   ====================== */
.ggr-audit-hero {
  position: relative;
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f3ff 40%, #f9fbff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px;
  animation: fadeInHero 1s ease-in-out;
}

.ggr-audit-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, rgba(230,240,255,0.9), #f8faff 100%);
}

@keyframes fadeInHero {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.ggr-audit-hero .ggr-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

/* HERO TEXT */
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #0073aa;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  background: var(--ggr-gradient);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.hero-content h1 span { color: #00bfa5; }

.hero-sub {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 30px;
}

/* FORM */
.audit-form { margin-bottom: 30px; }
.audit-input-wrap {
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--ggr-shadow);
  background: #fff;
}
.audit-input-wrap input {
  flex: 1;
  padding: 16px 24px;
  font-size: 16px;
  border: none;
  outline: none;
  height: 56px;
}
.audit-input-wrap button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #00bfa5);
  border: none;
  height: 56px;
  padding: 0 28px;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37,99,235,0.3);
  animation: pulseBtn 3s infinite ease-in-out;
  position: relative;
  overflow: hidden;
}
.audit-input-wrap button::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  transform: skewX(-20deg);
  animation: shimmerMove 3.5s infinite;
}

@keyframes shimmerMove {
  0% { left: -75%; }
  60%,100% { left: 125%; }
}
@keyframes pulseBtn {
  0%,100% { transform: scale(1); }
  70% { transform: scale(1.05); }
}

.audit-help-text {
  margin-top: 10px;
  color: #64748b;
  font-size: 0.9rem;
}

/* TRUST BADGES */
.audit-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 25px;
}
.audit-trust-badges li {
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--ggr-shadow);
  font-weight: 600;
  color: #0f172a;
}
.audit-trust-badges li:hover {
  background: var(--ggr-gradient);
  color: #fff;
}

/* HERO CARD SIDE */
.hero-card {
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: var(--ggr-shadow);
  animation: floaty 7s ease-in-out infinite alternate;
}
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

/* ======================
   AUDIT SECTIONS
   ====================== */
.ggr-audit-areas, .ggr-audit-steps, .ggr-audit-author, .faq-section {
  padding: 20px 0;
  background: #f8faff;
}

.ggr-section-head {
  text-align: center;
  margin-bottom: 50px;
}
.ggr-section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.ggr-section-head p {
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Audit Cards Grid === */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.audit-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;  /* uniform padding for tighter look */
  box-shadow: var(--ggr-shadow);
  text-align: left;          /* force left alignment */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; 
}
.audit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ggr-shadow-hover);
}
.audit-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;      /* orange accent */
}

.audit-card ul {
  padding-left: 18px;
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

/* === Steps Section === */
.steps-list {
   list-style: none;
  counter-reset: step;
  display: grid;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.steps-list li {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: var(--ggr-shadow);
}
.step-number {
  background: var(--ggr-gradient);
  color: #fff;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* === Author Section === */
.author-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--ggr-shadow);
}
.author-avatar img {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
}
.author-content h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.author-socials {
  list-style: none;
  margin-top: 20px;
}
.author-socials li {
  margin-bottom: 8px;
}
.author-socials a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.author-socials a:hover { color: #00bfa5; }

/* === FAQ Section === */
.faq-section {
  background: #f0f7ff;
}
.faq-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-section p {
  color: #475569;
  line-height: 1.6;
}

/* ======================
   FINAL CTA
   ====================== */
.ggr-audit-final-cta {
  background: var(--ggr-gradient);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.final-cta-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.final-cta-card h2 {
  font-size: clamp(1.8rem,3vw,2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.final-cta-card p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: .9;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.btn-primary,
.btn-outline {
  display: inline-block;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-primary {
  background: #fff;
  color: #2563eb;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: #2563eb; }

.final-cta-note {
  margin-top: 30px;
  font-size: .95rem;
  opacity: .9;
}
.final-cta-note a { color: #fff; font-weight: 600; }

/* ======================
   ANIMATIONS
   ====================== */
.fade-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */
@media (max-width: 900px) {
  .ggr-audit-hero .ggr-container { grid-template-columns: 1fr; text-align: center; }
  .hero-card { margin-top: 40px; }
  .audit-input-wrap { flex-direction: column; }
  .audit-input-wrap button { width: 100%; border-radius: 0 0 20px 20px; }
  .score-dial { width: 100px; height: 100px; font-size: 1rem; }
  .author-card { flex-direction: column; text-align: center; }
  .author-avatar img { width: 140px; height: 140px; }
}
