/*
 Theme Name: Super Site Report
 Theme URI: https://supersitereport.com
 Author: SuperSiteBros
 Author URI: https://supersitebros.com
 Description: Marketing funnel theme for SuperSiteBros free website health report.
 Version: 1.6.0
 Text Domain: supersitereport
*/

/* ------------------------------
   Base & Layout
------------------------------ */
:root {
  --ssr-bg: #f5f9fb;
  --ssr-deep: #071827;
  --ssr-deep-soft: #0b2334;
  --ssr-teal: #1f7d8a;
  --ssr-teal-soft: #45a6a7;
  --ssr-accent-danger: #f05d5e;
  --ssr-accent-warning: #ffb347;
  --ssr-accent-success: #39b67a;
  --ssr-radius-lg: 18px;
  --ssr-radius-pill: 999px;
  --ssr-shadow-soft: 0 18px 40px rgba(5, 18, 30, 0.16);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e3f3ff, #f5f9fb 45%, #eef7ff 85%);
  color: var(--ssr-deep);
}

/* ------------------------------
   Site Wrapper
------------------------------ */
.site-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* ------------------------------
   Header
------------------------------ */
.ssr-header {
  margin-bottom: 2.25rem;
}

.ssr-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.ssr-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ssr-logo-img-main {
  max-height: 160px;
  height: auto;
  width: auto;
  display: block;
}

/* we keep .ssr-logo-text in case it's used elsewhere */
.ssr-logo-text small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.ssr-logo-text span {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.ssr-header-cta a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 62, 92, 0.15);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ssr-teal);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* ------------------------------
   Main Layout
------------------------------ */
.ssr-main {
  width: 100%;
}

.ssr-main-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* ------------------------------
   Left Column (Hero + Form)
------------------------------ */
.ssr-hero-card {
  flex: 1.1;
  background: radial-gradient(circle at top left, #102637, #071827 55%, #020811);
  color: #f8fdff;
  padding: 1.8rem 1.6rem 1.9rem;
  border-radius: 24px;
  box-shadow: var(--ssr-shadow-soft);
  position: relative;
  overflow: hidden;
}

.ssr-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(161, 229, 255, 0.35);
  background: rgba(7, 35, 52, 0.7);
  margin-bottom: 0.7rem;
}

.ssr-hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, #7df9ff 0%, #32b4ff 40%, #0479c5 75%);
  box-shadow: 0 0 10px rgba(111, 219, 255, 0.8);
}

.ssr-hero-title {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.1rem 0 0.35rem;
}

.ssr-hero-subtitle {
  margin: 0.4rem 0 0.9rem;
  font-size: 0.98rem;
  max-width: 26rem;
  opacity: 0.82;
}

.ssr-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1.5rem;
}

.ssr-hero-badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.78;
}

/* Form */
.ssr-form {
  margin-bottom: 0.5rem;
}

.ssr-form-group {
  margin-bottom: 0.8rem;
}

.ssr-form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.18rem;
  opacity: 0.8;
}

.ssr-form-checkbox {
  display: flex;
  align-items: center;
}

.ssr-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.ssr-checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.ssr-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(180, 208, 224, 0.75);
  font-size: 0.95rem;
  outline: none;
  background: rgba(2, 12, 20, 0.95);
  color: #f6fdff;
}

.ssr-input::placeholder {
  color: rgba(188, 214, 231, 0.7);
}

.ssr-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1f7d8a, #45a6a7);
  color: #fdfefe;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.ssr-form-footnote {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ------------------------------
   Right Column (Report Card)
------------------------------ */
.ssr-report-card {
  flex: 1;
  background: #ffffff;
  padding: 1.4rem 1.5rem 1.6rem;
  border-radius: 22px;
  box-shadow: var(--ssr-shadow-soft);
  position: relative;
  overflow: visible !important;
  max-height: none !important;
}

.ssr-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ssr-report-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.ssr-report-meta {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  opacity: 0.8;
  max-width: 17rem;
}

/* Grade pill */
.ssr-grade-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #e8f6ef;
  color: #296543;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Category tags (visual only) */
.ssr-section-tabs {
  margin: 1.1rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ssr-tag-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d1dde3;
  background: #f9fcfd;
  font-size: 0.8rem;
  color: #304b5a;
  cursor: default;
  user-select: none;
}

.ssr-tag-pill--active {
  border-color: rgba(31, 125, 138, 0.5);
  background: #e7f5f6;
}

/* ------------------------------
   Issue List & Issue Cards
------------------------------ */
.ssr-issue-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0;
  margin: 0;
  max-height: none !important;
  overflow: visible !important;
}

/* Each issue card */
.ssr-issue {
  list-style: none;
  border-radius: 18px;
  border: 1px solid #dbe5ea;
  background: #f8fcfd;
  padding: 1rem 1rem 1.1rem;
  max-height: none !important;
  overflow: visible !important;
}

.ssr-issue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ssr-issue-title {
  font-size: 1rem;
  font-weight: 700;
}

.ssr-issue-body {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Severity tags */
.ssr-issue-severity {
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

.ssr-issue-severity.low {
  background: #e7f2ff;
  color: #20558d;
}

.ssr-issue-severity.medium {
  background: #fff5dd;
  color: #b47609;
}

.ssr-issue-severity.high {
  background: #ffe6e7;
  color: #c3262f;
}

/* Resolution / CTA block */
.ssr-resolution-teaser {
  margin-top: 0.6rem;
  border-radius: 14px;
  background: #e7f0f4;
  padding: 0.8rem 0.8rem 0.9rem;
  max-height: none !important;
  overflow: visible !important;
}

.ssr-resolution-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #213846;
  max-height: none !important;
  overflow: visible !important;
}

/* Fade overlay disabled */
.ssr-resolution-fade {
  display: none !important;
}

/* CTA row inside resolution */
.ssr-resolution-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.65rem;
  font-size: 0.8rem;
}

.ssr-resolution-cta span {
  display: block;
}

/* Ghost button */
.ssr-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--ssr-teal);
  background: #ffffff;
  color: var(--ssr-teal);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

/* ------------------------------
   Bottom Section
------------------------------ */
.ssr-bottom-section {
  margin-top: 2.5rem;
  padding: 1.6rem 1.7rem 1.8rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--ssr-shadow-soft);
}

.ssr-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.ssr-benefit-card {
  background: #f7fafb;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  border: 1px solid #dde7ec;
  font-size: 0.9rem;
}

.ssr-benefit-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

/* Footer */
.ssr-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* Full expansion safety overrides */
#ssr-report-card,
.ssr-report-card,
.ssr-main-inner,
.ssr-issue-list,
.ssr-issue,
.ssr-resolution-text,
.ssr-resolution-teaser {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}

/* ------------------------------
   PASS vs issue colors
------------------------------ */
.ssr-issue-severity.pass {
  background: #e4f7ec !important;
  color: #2e7d4b !important;
}

/* Non-pass (low/medium/high) = red */
.ssr-issue-severity.low,
.ssr-issue-severity.medium,
.ssr-issue-severity.high {
  background: #ffe6e7 !important;
  color: #c3262f !important;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 900px) {
  .ssr-main-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ssr-hero-card,
  .ssr-report-card {
    width: 100%;
  }

  .ssr-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .site-wrapper {
    max-width: 100%;
    padding: 0;
  }

  .ssr-hero-card {
    border-radius: 24px;
    padding: 1.8rem 1.2rem 1.9rem;
  }

  .ssr-report-card,
  .ssr-bottom-section,
  .ssr-header {
    margin: 0 0.9rem 1.2rem;
  }
}


@media (max-width: 600px) {
  .ssr-logo-img-main {
    max-height: 90px;
  }

  .site-wrapper {
    padding: 1.2rem 0.6rem 2.2rem;
  }

  .ssr-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ssr-header-cta {
    align-self: stretch;
    margin-top: 0.5rem;
  }

  .ssr-header-cta a {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .ssr-button-primary {
    width: 100%;
  }

  .ssr-report-card,
  .ssr-bottom-section {
    border-radius: 18px;
  }
}
