/* =========================
   BASE
========================= */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f6f6f6;
  color: #222;
  line-height: 1.45;
}

/* =========================
   HERO
========================= */

.hero {
  background: linear-gradient(135deg, #b32017, #8c1912);
  color: white;
  padding: 32px 24px;
}

.hero h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
}

.hero p {
  margin: 0;
  opacity: 0.95;
}

/* =========================
   CONTAINER
========================= */

.container {
  max-width: 1100px;
  margin: 24px auto;
  background: white;
  padding: 24px;
  border-radius: 6px;
}

/* =========================
   FORM ELEMENTS
========================= */

.field {
  display: block;
  margin-bottom: 16px;
}

.examples label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

/* =========================
   IMAGE PREVIEW
========================= */

.preview-wrapper {
  margin-top: 12px;
}

.preview-wrapper img {
  max-width: 35%;
  border: 1px solid #ddd;
  margin-bottom: 16px;
  border-radius: 4px;
}

/* =========================
   PRIMARY BUTTON
========================= */

.primary {
  background: #b32017;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.primary:hover {
  background: #8c1912;
}

/* =========================
   LOADER
========================= */

.loader {
  margin-top: 24px;
  font-weight: 600;
  animation: pulse 1.2s infinite;
}

.hidden {
  display: none;
}

@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* =========================
   OUTPUT CONTAINER
========================= */

.output {
  margin-top: 32px;
}

/* =========================
   REPORT SECTIONS
========================= */

.report-section {
  border-left: 4px solid #b32017;
  padding: 16px 18px;
  margin-bottom: 22px;
  background: #fafafa;
  border-radius: 4px;
}

/* Section headers */
.report-section h4 {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* =========================
   BULLET RESET
========================= */

.report-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================
   BULLET CARDS
========================= */

.report-section li {
  background: white;
  border: 1px solid #e3e3e3;
  border-left: 4px solid #b32017;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 4px;
  line-height: 1.4;
  font-size: 14px;
}

/* Bullet title */
.report-section li strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}

/* =========================
   PRICING SECTION EMPHASIS
========================= */

.report-section.pricing {
  background: #fff4f2;
  border-left-color: #8c1912;
}

.report-section.pricing li {
  border-left-color: #8c1912;
  font-size: 15px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .preview-wrapper img {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 22px;
  }

  .container {
    padding: 16px;
  }
}

/* ============================= */
/* Skeleton Loader (Report) */
/* ============================= */

.skeleton {
  margin-top: 24px;
  padding: 24px;
  background: #ffffff;
  border-left: 4px solid #a52b1f;
}

.skeleton-summary {
  height: 22px;
  width: 80%;
  margin-bottom: 24px;
  background: #eee;
}

.skeleton-section {
  height: 18px;
  width: 55%;
  margin: 24px 0 16px;
  background: #eee;
}

.skeleton-lines div {
  height: 14px;
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    #eeeeee 25%,
    #f5f5f5 37%,
    #eeeeee 63%
  );
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.hidden {
  display: none;
}

