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

:root {
  --ironhaven: #282b2e;
  --color-primary: #4a6d8c;
  --color-accent: #e93d3d;
  --skyveil: #f3f6fa;
  --mistfall: #dbe0e6;

  --shadow: 0px 16px 48px 0px rgba(185, 194, 206, 0.3);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ironhaven);
}

h1 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--ironhaven);
  line-height: 120%;
}

h1 b {
  font-weight: 700;
}

h2 {
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 28px;
  font-weight: 600;
}

img {
  width: 100%;
}

.container {
  max-width: 1176px;
  margin: 0 auto;
  padding-block: 56px;
  padding-inline: 40px;
}

.main-header {
  background: var(--color-primary);
}

.main-header .container {
  padding-block: 23px;
  display: flex;
}

.logo {
  max-width: 264px;
  width: 100%;
  height: auto;
}

.eyebrow-heading {
  font-size: 14px;
  text-transform: uppercase;
  line-height: 20px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.supporting-text {
  font-size: 18px;
  line-height: 28px;
}
.supporting-text .blue{
  color: hsl(217 91% 60%);
  font-weight: 700;
}

.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-accent);
  color: white;
  padding: 12px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.15s ease;
  max-width: 400px;
  font-weight: 700;
  min-height: 56px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.cta-button:hover {
  filter: brightness(1.2);
  box-shadow: var(--shadow);
}

.hero-section {
  background-color: var(--skyveil);
}

.hero-section .crossed-out {
  text-decoration: line-through;
  opacity: 0.6;
  color: var(--color-accent);
}

.hero-section .supporting-text b {
  color: var(--color-accent);
}

.pseudo-form {
  margin-top: 48px;
  background-color: #fff;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--mistfall);
  box-shadow: var(--shadow);
  max-width: 487px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-content {
  width: 100%;
}

.form-question {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--ironhaven);
}

.monetary_options {
  margin-bottom: 24px;
}

.option_row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.monetary_option {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: var(--ironhaven);
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  min-height: 48px;
  border-color: #e0e0e0;
}

.monetary_option:hover {
  background-color: #3a5a7a;
  color: white;
}

.monetary_option input {
  display: none;
}

.monetary_option input:checked + .option_text {
  font-weight: 600;
}

.monetary_option:has(input:checked) {
  background-color: #2d4a6b;
  color: white;
}

.pseudo-form .cta-button {
  min-height: 48px;
  font-size: 14px;
  margin-bottom: 16px;
  max-width: 100%;
  background-color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy_statement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #666;
  text-align: center;
  justify-content: center;
}

.padlock_icon {
  color: #666;
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  display: none;
  min-height: 400px;
}

/* Legal Wake-Up Call Section Styles */
.intro-text {
  text-align: left;
  margin-bottom: 48px;
}

.they-wrong {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 24px 0;
  text-align: left;
}

.nightmare-intro {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 40px;
  text-align: left;
}

.nightmare-intro b {
  font-weight: 600;
}

.consequence-cards {
  margin-bottom: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
}

.consequence-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.consequence-card:nth-child(5) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.card-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.card-row:first-child {
  grid-template-columns: repeat(2, 1fr);
}

.card-row:last-child {
  margin-bottom: 0;
  grid-template-columns: repeat(3, 1fr);
}

.consequence-cards .consequence-card {
  background-color: #f5f5f5 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  width: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.consequence-cards .consequence-card:hover {
  background-color: #ebebeb !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.consequence-cards .consequence-card.selected {
  background-color: #2d4a6b !important;
  border-color: #1a2f4a !important;
  box-shadow: 0 2px 8px rgba(45, 74, 107, 0.3);
}

.card-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.card-icon svg {
  color: var(--color-accent);
  width: 32px;
  height: 32px;
  transition: color 0.2s ease;
}

.card-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ironhaven);
  margin: 0;
  transition: color 0.2s ease;
}

.consequence-cards .consequence-card.selected .card-icon svg,
.consequence-cards .consequence-card.selected .card-text {
  color: white;
}

.worst-part {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-top: 48px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  list-style: none;
  margin-top: 72px;
}

.stats li {
  background: linear-gradient(135deg, #eff6ff 0%, #eff6ff 100%);
  border-radius: 16px;
  border: 1px solid #e1eaef;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px #799caf4d;
}

.stats .value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(217 91% 60%);
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats .desc {
  font-size: 16px;
  line-height: 1.5;
  color: #374151;
  font-weight: 400;
  margin: 0;
}

.cost-of-delaying-section {
  background-color: var(--skyveil);
}

.cost-of-delaying-section .container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 64px;
}

.chart-wrapper {
  display: flex;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--mistfall);
  box-shadow: var(--shadow);
}

.cost-of-delaying-section .chart-area small {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.8;
  margin-top: 16px;
  display: block;
}

.cost-of-delaying-section .cta-button {
  height: fit-content;
  margin-inline: auto;
}

.act-now-section h2 {
  margin-bottom: 56px;
}

.act-now-section h3 {
  font-size: 24px;
  line-height: 150%;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.comparison-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.do-nothing-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}

.take-action-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
}

.comparison-card h3 {
  font-size: 24px;
  line-height: 150%;
  margin-bottom: 24px;
  font-weight: 700;
  color: #1f2937;
}

.comparison .separation_line {
  height: 1px;
  width: 100%;
  background-color: var(--mistfall);
}

.comparison img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--mistfall);
  margin-bottom: 40px;
}

.act-now-section ul {
  display: grid;
  gap: 16px;
  list-style: none;
}

.act-now-section li {
  font-size: 18px;
  line-height: 28px;
  color: #374151;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.act-now-section li::before {
  content: "";
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("assets/images/cross_check_icon_sprite.svg");
  background-position: -16px -16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.take-action-card li::before {
  background-position: -89px -18px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps li {
  background: #eff6ff;
  border-radius: 16px;
  padding: 32px 24px;
  padding-top: 60px !important;
  text-align: left;
  border: 1px solid #e1eaef;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: hsl(217 91% 60%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  z-index: 1;
}

.step-icon {
  background-image: url("assets/images/our-solution--icon-sprite.svg");
  background-size: 256px 80px;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 30px;
  display: flex;
  justify-self: center;
}

.steps li.secure {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.steps li.secure .step-number {
  background: #16a34a;
}

.steps li.secure .step-icon {
  background-color: rgba(22, 163, 74, 0.1);
}

.steps .value {
  font-size: 18px;
  line-height: 120%;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937;
}

.steps .desc {
  font-size: 14px;
  line-height: 20px;
  color: #6b7280;
  margin-bottom: 20px;
}

.steps li.answer .step-icon {
  background-position: -21px -16px;
  width: 38px;
  height: 48px;
}

.steps li.meet .step-icon {
  background-position: -104px -21px;
  width: 48px;
  height: 38px;
}

.steps li.get .step-icon {
  background-position: -192px -21px;
  width: 48px;
  height: 38px;
}

.steps li.secure .step-icon {
  background-position: -192px 0px;
}

.steps .cta-button {
  width: 100%;
  margin-top: 16px;
  background: #dc2626;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.steps .cta-button:hover {
  background: #b91c1c;
}

.our-solution-section {
  background-color: var(--skyveil);
}

.why-wait-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.why-wait-content {
  text-align: left;
}

.why-wait-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--mistfall);
}

.our-solution-section h3 {
  margin-block: 80px 56px;
  font-size: 24px;
  line-height: 120%;
  font-weight: 600;
}

.our-solution-section .eyebrow-cta {
  text-align: center;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--color-primary);
  font-size: 24px;
  line-height: 120%;
}

.our-solution-section .cta-button {
  margin-inline: auto;
}

.main-footer {
  background: #1a252f;
  color: white;
  padding: 50px 0 20px;
}

footer {
  background-color: var(--color-primary);
  color: var(--skyveil);
}

footer .container {
  gap: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 14px;
  line-height: 20px;
}

footer .footer-message p:last-child {
  margin-top: 32px;
}

/* Mobile styles for monetary options */
@media (max-width: 639px) {
  .option_row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  
  .option_row:last-child {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .monetary_option {
    padding: 10px 6px;
    font-size: 13px;
    min-height: 44px;
  }
  
  /* Mobile styles for consequence cards */
  .card-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card-row:first-child {
    grid-template-columns: 1fr;
  }
  
  .card-row:last-child {
    grid-template-columns: 1fr;
  }
  
  .consequence-card {
    padding: 24px 16px;
    min-height: 120px;
  }
  
  .card-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .card-text {
    font-size: 15px;
  }
}

@media (min-width: 640px) {
  .container {
    padding-inline: 48px;
  }

  .option_row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .monetary_option {
    padding: 14px 12px;
    font-size: 15px;
  }

  /* Tablet styles for consequence cards */
  .card-row:first-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-row:last-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .consequence-card {
    min-height: 140px;
  }

  /* Tablet styles for hero section */
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-section .container h1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .hero-supporting-content {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .hero-image {
    display: none;
  }

  .pseudo-form {
    max-width: 800px;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .form-content {
    flex: 1;
    min-width: 0;
  }

  /* Tablet styles for stats */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stats li:last-child {
    grid-column: 1 / 3;
  }

  .footer-branding {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 48px;
  }
  
  /* Desktop styles for consequence cards */
  .card-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-row:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .consequence-card {
    min-height: 160px;
  }
  
  .hero-section .container {
  display: grid;
  align-items: center;
  column-gap: 80px;
  row-gap: 56px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.hero-section .container h1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  margin: unset;
}

.hero-supporting-content {
  max-width: 487px;
}

.hero-image {
  display: block;
  justify-self: end;
  align-self: center;
  max-width: 550px;
}

.hero-image img {
  min-height: 450px;
  display: block;
}

  .hero-section .supporting-text {
    max-width: 460px;
  }

  .real-nightmare {
    margin-block: 64px;
    padding-block: 56px;
  }

  .cost-of-delaying-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 64px;
    row-gap: unset;
  }

  .cost-of-delaying-section .chart-area {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    max-width: 470px;
    margin-left: auto;
  }

  .cost-of-delaying-section .text-content {
    margin-bottom: 64px;
  }

  .cost-of-delaying-section .chart-area {
    max-width: 470px;
    margin-top: 64px;
  }

  .cost-of-delaying-section .cta-button {
    margin-inline: unset;
  }

  .comparison {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 80px;
  }

  .comparison .separation_line {
    width: 1px;
    height: 100%;
    max-height: 480px;
    transform: translateY(25%);
  }

  footer .container {
    flex-direction: row;
  }
}

@media (min-width: 1280px) {
  .container:not(footer .container, .main-header .container) {
    padding-block: 100px;
  }
}

/* Mobile overrides */
@media (max-width: 639px) {
  .consequence-cards {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(5, auto) !important;
    gap: 16px !important;
  }

  .consequence-cards .consequence-card:nth-child(4) {
    grid-column: 1 / 2 !important;
    grid-row: 4 / 5 !important;
  }

  .consequence-cards .consequence-card:nth-child(5) {
    grid-column: 1 / 2 !important;
    grid-row: 5 / 6 !important;
  }

  /* Mobile styles for comparison cards */
  .comparison {
    gap: 32px;
  }

  .comparison-card {
    padding: 24px;
  }

  .comparison-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .act-now-section li {
    font-size: 16px;
    line-height: 24px;
  }

  /* Mobile styles for hero section */
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-section .container h1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .hero-image img {
    min-height: 250px;
  }

  .hero-supporting-content {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    max-width: 100%;
  }

  .pseudo-form {
    flex-direction: column;
    max-width: 487px;
  }

  /* Mobile styles for why-wait section */
  .why-wait-section {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  /* Mobile styles for steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps li {
    padding: 24px 20px;
  }
}

/* Tablet overrides */
@media (min-width: 640px) and (max-width: 1023px) {
  .consequence-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
  }

  .consequence-cards .consequence-card:nth-child(3) {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
  }

  .consequence-cards .consequence-card:nth-child(4) {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
  }

  .consequence-cards .consequence-card:nth-child(5) {
    grid-column: 1 / 3 !important;
    grid-row: 3 / 4 !important;
  }

  /* Tablet styles for comparison cards */
  .comparison {
    gap: 40px;
  }

  .comparison-card {
    padding: 32px;
  }

  /* Tablet styles for why-wait section */
  .why-wait-section {
    gap: 48px;
  }

  /* Tablet styles for steps */
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Desktop overrides */
@media (min-width: 1024px) {
  .consequence-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    justify-content: center !important;
  }

  /* All cards have equal width */
  .consequence-cards .consequence-card {
    width: calc(33.333% - 16px) !important;
    flex-shrink: 0 !important;
  }

  /* Second row cards are centered */
  .consequence-cards .consequence-card:nth-child(4),
  .consequence-cards .consequence-card:nth-child(5) {
    width: calc(33.333% - 16px) !important;
  }

  /* Desktop styles for stats */
  .stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
  }

  .stats li:last-child {
    grid-column: auto;
  }

  /* Desktop styles for comparison cards */
  .comparison {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 20px;
  }

  .comparison .separation_line {
    width: 1px;
    height: 100%;
    max-height: 480px;
    transform: translateY(25%);
  }
}
