:root {
  --primary: #5ec8d7; /* Sky blue/cyan from logo */
  --secondary: #484849; /* Charcoal grey from logo */
  --accent: #5ec8d7; /* Sky blue/cyan */
  --accent-hover: #45b1c0;
  --accent-bg: #f0fafb; /* Light cyan background */
  --grad-yellow: linear-gradient(102deg, #8ef0fc 0%, #5ec8d7 60%); /* Cyan gradient for main CTAs */
  --grad-magenta: linear-gradient(135deg, #5ec8d7 0%, #3ba5b5 100%); /* Cyan/Teal gradient */
  --text-dark: #212529;
  --text-secondary: #4D4D4F;
  --text-muted: #6C757D;
  --text-label: #495057;
  --border: #DEE2E6;
  --bg-page: #ffffff;
  --bg-cream: #F8F9FA;
  --grad-blue: linear-gradient(135deg, #3fa8b7 0%, #1f6b76 100%); /* Cyan/Teal gradient */
  --font-h: 'Outfit', sans-serif;
  --font-main: 'Outfit', sans-serif;
  --radius-lg: 10px; /* Action uses tighter corners for cards */
  --radius-pill: 36px; /* For buttons - matching Action's 36px */
  --gutter: 24px;
  --section-padding: 80px;
}

* { box-sizing: border-box; }

body {
  font-size: 18px;
  margin: 0; font-family: var(--font-main); color: var(--text-dark);
  background: var(--bg-page); -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── Header ─── */
.main-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  max-height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover { color: var(--primary); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: var(--primary); /* Cyan */
  color: var(--text-dark); /* Improved contrast */
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.hero p {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 20;
}

.hero-wave path {
  fill: #fff;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn-primary {
  padding: 14px 40px;
  background: var(--grad-yellow);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(94, 200, 215, 0.3);
}

.btn-secondary {
  padding: 14px 40px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2px solid var(--primary);
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-dark);
}

.features-section {
  padding: var(--section-padding) 20px;
  background: #fff;
}

.features-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}

.trust-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: left;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.trust-mascot {
  height: 60px; width: 60px; margin-bottom: 24px;
  object-fit: contain;
}

.trust-card h4 {
  margin: 0 0 12px; font-size: 22px; 
  color: var(--text-dark); font-weight: 700;
}

.trust-card p {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero { height: auto; padding: 120px 20px 80px; }
  .hero-wrapper { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .features-container { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Trustpilot ─── */
.trustpilot-section {
  padding: var(--section-padding) 20px;
  background: var(--bg-cream);
  color: var(--text-dark);
}

.trustpilot-section .section-title,
.trustpilot-section .section-sub {
  color: var(--text-dark);
}

.trustpilot-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: var(--gutter);
}

.tp-container {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tp-stars {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 20px;
}

.tp-text {
  font-size: 20px;
  margin: 0 0 12px;
}

.tp-logo { font-weight: 700; }
.tp-star-logo { color: var(--primary); }

.tp-subtext {
  font-size: 14px;
  color: var(--text-secondary);
}

.tp-reviews {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.tp-review-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.tp-review-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tp-review-stars {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 16px;
}

.tp-review-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-h);
}

.tp-review-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tp-review-author {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .trustpilot-wrapper { flex-direction: column; }
  .tp-reviews { grid-template-columns: 1fr; }
}

/* ─── How it works ─── */
.how-it-works-section {
  padding: var(--section-padding) 20px;
  background: var(--secondary); /* Charcoal grey */
  color: #ffffff;
}

.how-it-works-section .section-title,
.how-it-works-section .section-sub {
  color: #fff;
}

.how-it-works-section .section-sub {
  color: rgba(255, 255, 255, 0.85);
}

.hiw-container {
  max-width: 1280px;
  margin: 0 auto;
}

.hiw-header {
  text-align: center;
  margin-bottom: 48px;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.hiw-step {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hiw-step:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.hiw-number {
  background: var(--primary);
  color: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-h);
  margin: 0 auto 24px;
}

.hiw-step p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 900px) {
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .hiw-steps { grid-template-columns: 1fr; }
}

/* ─── Layout & Typography ─── */
.container { max-width: 720px; margin: -40px auto 60px; padding: 0 20px; }

.section-title, .step-title {
  font-family: var(--font-h); font-size: 36px; font-weight: 800;
  text-align: center; margin: 0 0 12px;
  color: var(--primary);
}

.section-sub, .step-sub {
  font-size: 18px; color: var(--text-secondary); text-align: center; margin-bottom: 48px;
}

/* ─── Components ─── */
.offer-card, .lead-card { background: #fff; border-radius: var(--radius-lg); }

.offer-card {
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(4, 8, 50, 0.05);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(4, 8, 50, 0.1);
  border-color: var(--accent);
}

.offer-card-ribbon {
  background: var(--grad-blue); color: #fff;
  font-size: 11px; font-weight: 700; padding: 6px 14px; text-align: center;
}

.offer-card-body { padding: 20px; }

.offer-card-header { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

.offer-price { font-size: 36px; font-weight: 800; color: var(--accent); }

.offer-saving {
  display: inline-block; background: rgba(22,163,74,.08); color: #16a34a;
  font-size: 15px; font-weight: 700; padding: 4px 12px; border-radius: 8px; margin: 12px 0;
}

.offer-tag {
  font-size: 13px; color: var(--text-label); background: #f1f5f9;
  padding: 4px 10px; border-radius: 6px; margin-right: 4px;
}

/* ─── Form Elements ─── */
.input, .btn-cta, .btn-submit { font-family: inherit; transition: all .15s; }

.input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
  border: 2px solid var(--border); outline: none;
}

.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(5, 150, 105, .18); }

.btn-cta, .btn-submit {
  border: none; background: var(--grad-yellow);
  color: var(--text-dark); font-weight: 800; cursor: pointer; width: 100%;
}

.btn-cta:hover, .btn-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(241, 151, 17, 0.3); filter: brightness(1.1); }

.btn-submit { padding: 16px; border-radius: 14px; margin-top: 8px; }

.btn-submit:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }

.fascia-btn {
  flex: 1; padding: 10px; border-radius: 10px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-weight: 600;
}

.fascia-btn.selected { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); }

.field-error { font-size: 14px; color: #dc2626; min-height: 16px; margin-top: 4px; }

.consent-label {
  display: flex; gap: 8px; font-size: 12px; color: #334155; margin-bottom: 8px; cursor: pointer;
}

.price-disclaimer { font-size: 13px; color: var(--text-muted); text-align: center; padding: 20px; }

/* ─── Footer ─── */
.main-footer {
  background: var(--secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 20px 40px;
  margin-top: 100px;
  color: #fff;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: var(--gutter);
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-h);
  color: #fff;
  font-size: 18px;
  margin: 0 0 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 16px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1100px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    gap: 40px;
    flex-direction: column;
  }
}

.about-section {
  padding: 120px 20px;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px 0;
}

.circular-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 15px solid var(--accent-bg);
}

.serif-title {
  font-family: var(--font-h);
}

/* Submit button disabled state (shared visual cue) */
#btnSubmit:disabled,
#btnSubmit[disabled] {
  opacity: 0.55;
  filter: grayscale(70%);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
#btnSubmit:disabled:hover,
#btnSubmit[disabled]:hover {
  opacity: 0.55;
  filter: grayscale(70%);
  transform: none;
  box-shadow: none;
}
