/* ============================================
   PRISONCALL AUSTRALIA — STATIC SITE CSS
   Font: Plus Jakarta Sans
   Colours: #080A52 navy, #EA203F red, #ffffff white
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

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

:root {
  --navy: #080A52;
  --red: #EA203F;
  --red-hover: #c9192f;
  --white: #ffffff;
  --off-white: #FAFBFF;
  --light-grey: #F5F6FA;
  --border: #E4E6F0;
  --text-dark: #111827;
  --text-mid: #374160;
  --text-muted: #6B7280;
  --yellow: #FFB700;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── HEADER ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--red);
  line-height: 1;
}

.btn-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--red-hover); }

/* ── HERO ────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-desktop { display: block; }
.hero-bg-mobile { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18,18,18,0.7);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 40px 80px;
}

.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-caption {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  width: fit-content;
  text-transform: uppercase;
}

.hero-heading {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--red);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-heading strong {
  color: var(--white);
  font-weight: 900;
}

.hero-subtext {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-subtext strong { color: var(--white); }

.hero-review {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hero-review-text {
  font-size: 12px;
  color: var(--white);
  font-weight: 500;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.hero-feature svg { flex-shrink: 0; }

.hero-cta {
  font-size: 18px;
  padding: 18px 32px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 24px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-weight: 700;
}

.hero-guarantees {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--white);
  font-weight: 500;
}

/* ── STEPS SECTION ───────────────────────── */
.steps-section {
  background: var(--white);
  padding: 80px 40px;
}

.steps-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.steps-heading {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.steps-heading strong { color: var(--red); }

.steps-subtext {
  font-size: 16px;
  color: var(--text-muted);
}

.steps-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps-list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: var(--border);
}

.step-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item:last-child { border-bottom: none; }

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
  white-space: nowrap;
  height: fit-content;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.step-content { flex: 1; }
.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}
.step-content p, .step-content div {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.7;
}
.step-content strong { font-weight: 700; }
.step-content a { color: var(--red); text-decoration: underline; }

/* ── TESTIMONIALS SECTION ────────────────── */
.testimonials-section {
  background: linear-gradient(180deg, rgba(237,95,117,0.15) 0%, rgba(255,255,255,1) 100%);
  padding: 80px 40px;
}

.section-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
}

.rating-display {
  text-align: center;
  margin-bottom: 40px;
}
.rating-score {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.rating-count {
  font-size: 16px;
  color: var(--text-muted);
}

.testimonials-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.testimonials-slider::-webkit-scrollbar { height: 4px; }
.testimonials-slider::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.testimonials-slider::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 2px; }

.testimonial-card {
  flex: 0 0 380px;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 40px;
  scroll-snap-align: start;
  box-shadow: 0 4px 20px rgba(237,95,117,0.15);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.testimonial-card p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 400;
}

.testimonials-cta {
  text-align: center;
  margin-top: 16px;
}

/* ── FEATURES SECTION ────────────────────── */
.features-section {
  background: var(--white);
  padding: 80px 40px;
}

.features-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 36px;
  max-width: 700px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.feature-card {
  background: var(--light-grey);
  border-radius: 8px;
  overflow: hidden;
}

.feature-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-percent-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.feature-percent-text {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 14px;
  color: white;
  font-weight: 500;
  line-height: 1.4;
}

.feature-card-body {
  padding: 20px;
}
.feature-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.feature-card-body p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

.features-cta { text-align: center; }

/* ── FAQ SECTION ─────────────────────────── */
.faq-section {
  background: var(--white);
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item { border: none; }

.faq-question {
  width: 100%;
  text-align: left;
  background: #C7C7C7;
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover,
.faq-question.active {
  background: var(--navy);
  color: var(--white);
}
.faq-question .faq-icon {
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--white);
}

.faq-answer {
  display: none;
  background: var(--off-white);
  padding: 20px;
  border-radius: 0 0 4px 4px;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
}
.faq-answer.open { display: block; }
.faq-answer strong { font-weight: 700; }
.faq-answer a { color: var(--red); text-decoration: underline; }
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── BOTTOM CTA SECTION ──────────────────── */
.bottom-cta-section {
  background: var(--white);
  padding: 60px 40px 80px;
  text-align: center;
}
.bottom-cta-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.bottom-cta-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer a { color: var(--text-muted); text-decoration: underline; }

/* ── MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
  .site-header { padding: 12px 20px; }
  .site-logo { font-size: 16px; }
  .btn-cta { font-size: 13px; padding: 10px 18px; }

  .hero-content-wrap { padding: 40px 20px 60px; }
  .hero-heading { font-size: 36px; }
  .hero-bg-desktop { display: none; }
  .hero-bg-mobile { display: block; }

  .steps-section { padding: 60px 20px; }
  .steps-heading { font-size: 24px; }
  .steps-list::before { display: none; }

  .testimonials-section { padding: 60px 20px; }
  .section-heading { font-size: 24px; }
  .testimonial-card { flex: 0 0 280px; padding: 24px; }

  .features-section { padding: 60px 20px; }
  .features-heading { font-size: 24px; }
  .features-grid { grid-template-columns: repeat(1, 1fr); }

  .faq-section { padding: 40px 20px; }
  .faq-heading { font-size: 24px; }

  .bottom-cta-section { padding: 40px 20px 60px; }
  .site-footer { padding: 20px; font-size: 12px; }
}
