:root {
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-xxl: 0 20px 45px rgba(0, 0, 0, 0.15);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 15px;
  --border-radius-2xl: 20px;
  --border-radius-full: 60px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.metric-row,
.table-row {
  border-bottom: 1px solid #e5e7eb;
}
.cta-primary,
.faq-item,
.hero,
.option-card,
.result-box {
  overflow: hidden;
}
.container,
.hero {
  position: relative;
}
.calculator-box:hover,
.option-card:hover {
  box-shadow: var(--shadow-xxl);
}
.faq-item::before,
.option-card::before,
.result-box::before {
  position: absolute;
  width: 100%;
  transition: left var(--transition-slow);
  content: "";
  top: 0;
  height: 100%;
}

.calculator-box,
.option-card {
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-xl);
}

.hero {
  background: linear-gradient(
        135deg,
        rgba(13, 119, 52, 0.9),
        rgba(5, 77, 31, 0.85)
      )
      fixed,
    url("../../images/house3.webp") center/cover fixed;
  color: #fff;
  padding: clamp(60px, 12vh, 120px) 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}
.container {
  max-width: min(1200px, 95vw);
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 20px);
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.2;
  margin: 0 auto clamp(20px, 4vh, 30px);
  max-width: 900px;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: 1s fadeInUp;
}
.section h2,
.timeline-comparison h2 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.check,
.section h2,
.table-total-label,
.x {
  font-weight: 700;
}
.hero-subtitle-main {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.hero-subtitle-secondary {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 35px;
}
.hero-stats-comparison {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-stat-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}
.stat-value {
  font-size: 1.1rem;
  margin-left: 8px;
}
.warning-text {
  color: #fbbf24;
}
.option-title {
  font-size: 2rem;
  margin-bottom: 10px;
}
.calculator-title {
  text-align: center;
  margin-bottom: 2.75rem;
}
.calculator-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.cash-amount,
.cash-color,
.cash-result-title,
.cash-steps-title,
.cta-link {
  color: #059669;
}
.traditional-amount,
.traditional-color,
.traditional-result-title,
.traditional-steps-title {
  color: #2563eb;
}
.result-details {
  text-align: left;
  margin-top: 15px;
  list-style: none;
}
.calculator-note {
  background: #fef3c7;
  padding: 25px;
  border-radius: 15px;
  margin-top: 30px;
}
.calculator-note-text {
  text-align: center;
  font-size: 1.1rem;
  color: #92400e;
}
.timeline-section {
  margin-bottom: 40px;
}
.cash-timeline-title {
  color: #059669;
  margin-bottom: 10px;
}
.traditional-timeline-title {
  color: #2563eb;
  margin-bottom: 10px;
}
.timeline-steps-list {
  line-height: 2;
  color: #374151;
}
.decision-guide-box,
.hidden-costs-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}
.decision-guide-intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
}
.decision-section {
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 20px;
}
.cash-section {
  background: #f0f9ff;
}
.traditional-section {
  background: #eff6ff;
}
.cash-decision-title {
  color: #059669;
  margin-bottom: 20px;
}
.traditional-decision-title {
  color: #2563eb;
  margin-bottom: 20px;
}
.decision-list {
  line-height: 2;
  font-size: 1.1rem;
  list-style: none;
}
.cash-scenarios-title {
  color: #059669;
  margin: 40px 0 20px;
  text-align: center;
}
.traditional-scenarios-title {
  color: #2563eb;
  margin: 40px 0 20px;
  text-align: center;
}
.scenario-title {
  margin-bottom: 15px;
}
.traditional-border {
  border-top-color: #2563eb;
}
.hidden-costs-title {
  color: #dc2626;
  margin-bottom: 30px;
  text-align: center;
}
.costs-table {
  width: 100%;
  border-collapse: collapse;
}
.table-header {
  background: #f3f4f6;
}
.table-header-cell {
  padding: 15px;
  text-align: left;
}
.table-amount {
  text-align: right;
}
.cta-primary,
.final-cta-section,
.option-header,
.result-box {
  text-align: center;
}
.table-cell {
  padding: 15px;
}
.cost-amount,
.x {
  color: #dc2626;
}
.table-total-row {
  background: #fee2e2;
}
.table-total-amount {
  font-weight: 700;
  color: #dc2626;
  font-size: 1.2rem;
}
.cash-costs-highlight {
  background: #dcfce7;
  padding: 25px;
  border-radius: 15px;
  margin-top: 30px;
  text-align: center;
}
.cash-costs-title {
  color: #059669;
  margin-bottom: 15px;
}
.cash-costs-description {
  font-size: 1.1rem;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.final-cta-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}
.final-cta-links {
  margin-top: 30px;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section {
  padding: clamp(40px, 8vh, 80px) 0;
}
.option-body,
.option-header {
  padding: clamp(25px, 4vh, 30px);
  z-index: 2;
  position: relative;
}
.section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: clamp(20px, 4vh, 30px);
  color: #059669;
}
.comparison-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(25px, 5vw, 40px);
  margin: clamp(30px, 6vh, 50px) 0;
}
.option-card {
  background: #fff;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  min-height: clamp(400px, 50vh, 500px);
}
.input-group input,
.metric-row {
  transition: all var(--transition-fast);
}
.calculator-box,
.cta-primary,
.faq-item,
.result-box,
.timeline-bar,
.timeline-steps ol li {
  transition: all var(--transition-normal);
}
.faq-item::before,
.option-card::before {
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  z-index: 1;
}
.option-card:hover {
  transform: translateY(-5px);
}
.faq-item:hover::before,
.option-card:hover::before,
.result-box:hover::before,
.scenario-card:hover::before,
.timeline-steps .step-container:hover::before {
  left: 100%;
}
.calculator-box:focus,
.cta-primary:focus,
.faq-item:focus,
.option-card:focus,
.scenario-card:focus,
.timeline-bar:focus,
.timeline-steps .step-container:focus {
  outline: #059669 solid 3px;
  outline-offset: 2px;
}
.option-header {
  color: #fff;
}
.option-header h3 {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}
.input-group label,
.metric-row {
  font-size: clamp(0.9rem, 2vw, 1rem);
}
.cash-header,
.cash-timeline,
.timeline-steps ol li::before {
  background: linear-gradient(135deg, #10b981, #059669);
}
.traditional-header {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.metric-row {
  padding: clamp(12px, 2vh, 15px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.check,
.neutral,
.x {
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}
.metric-row:hover {
  background-color: #f9fafb;
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
}
.metric-row:last-child {
  border-bottom: none;
}
.check {
  color: #10b981;
}
.neutral {
  color: #f59e0b;
  font-weight: 700;
}
.cta-primary,
.timeline-bar {
  color: #fff;
  font-weight: 700;
}
.calculator-section {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: clamp(40px, 8vh, 80px) 0;
}
.calculator-box {
  background: #fff;
  padding: clamp(30px, 5vh, 40px);
  max-width: 900px;
  margin: 0 auto;
}
.input-group {
  margin-bottom: clamp(20px, 3vh, 25px);
}
.input-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
  color: #374151;
}
.input-group input {
  width: 100%;
  padding: clamp(12px, 2.5vh, 15px);
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-md);
  font-size: clamp(14px, 2vw, 16px);
  font-family: inherit;
}
.input-group input:focus {
  outline: 0;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.input-group input:hover {
  border-color: #d1d5db;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(20px, 4vw, 30px);
  margin-top: clamp(25px, 4vh, 30px);
  padding-top: clamp(25px, 4vh, 30px);
  border-top: 2px solid #e5e7eb;
}
.result-box {
  padding: clamp(20px, 4vh, 25px);
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  position: relative;
}
.result-box::before {
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}
.result-box:hover,
.timeline-steps .step-container:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.cash-result {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 2px solid #10b981;
}
.traditional-result {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 2px solid #3b82f6;
}
.result-amount {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: var(--spacing-sm) 0;
  line-height: 1.2;
}
.timeline-comparison {
  background: #fff;
  padding: clamp(40px, 8vh, 80px) 0;
  position: relative;
}
.timeline-comparison h2 {
  color: #059669;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: clamp(40px, 6vh, 50px);
}
.timeline-visual {
  position: relative;
  padding: clamp(30px, 5vh, 40px) 0;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-visual > div {
  margin-bottom: clamp(30px, 5vh, 40px);
  position: relative;
}
.timeline-steps h4,
.timeline-steps ol li,
.timeline-visual h3 {
  margin-bottom: var(--spacing-md);
}
.timeline-visual h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.timeline-visual h3::before {
  content: "";
  width: clamp(14px, 2vw, 16px);
  height: clamp(14px, 2vw, 16px);
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-visual h3:first-of-type::before {
  background: #10b981;
}
.timeline-visual h3:last-of-type::before {
  background: #3b82f6;
}
.timeline-bar {
  height: clamp(50px, 8vh, 60px);
  border-radius: var(--border-radius-lg);
  margin: var(--spacing-md) 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 3vw, 25px);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  position: relative;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.timeline-bar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.cash-timeline {
  width: 20%;
  animation: 1.5s ease-out expandCash;
}
.timeline-steps > div:last-child ol li::before,
.traditional-timeline {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
@keyframes expandCash {
  from {
    width: 0%;
  }
  to {
    width: 20%;
  }
}
.traditional-timeline {
  width: 100%;
  animation: 1.5s ease-out 0.5s both expandTraditional;
}
@keyframes expandTraditional {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(25px, 5vw, 40px);
  margin-top: clamp(40px, 6vh, 50px);
  padding-top: clamp(30px, 5vh, 40px);
  border-top: 2px solid #e5e7eb;
}
.scenario-card,
.timeline-steps .step-container {
  background: #fff;
  padding: clamp(25px, 4vh, 30px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.timeline-steps .step-container {
  border-radius: var(--border-radius-xl);
  border: 2px solid #e5e7eb;
  box-shadow: var(--shadow-sm);
}
.scenario-card::before,
.step-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left var(--transition-slow);
}
.timeline-steps .step-container:first-child {
  border-top: 4px solid #10b981;
}
.timeline-steps .step-container:first-child:hover {
  border-color: #10b981;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}
.timeline-steps .step-container:last-child {
  border-top: 4px solid #3b82f6;
}
.timeline-steps .step-container:last-child:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}
.timeline-steps h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
}
.timeline-steps ol {
  line-height: 2;
  color: #374151;
  font-size: clamp(0.9rem, 2vw, 1rem);
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}
.timeline-steps ol li {
  counter-increment: step-counter;
  padding: clamp(10px, 2vh, 12px) clamp(12px, 2vw, 15px) clamp(10px, 2vh, 12px)
    clamp(40px, 8vw, 50px);
  position: relative;
  background: #f9fafb;
  border-radius: var(--border-radius-sm);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.timeline-steps > div:first-child ol li {
  border-left-color: #10b981;
}
.timeline-steps > div:last-child ol li {
  border-left-color: #3b82f6;
}
.timeline-steps ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: clamp(12px, 2vw, 15px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(20px, 3vw, 24px);
  height: clamp(20px, 3vw, 24px);
  border-radius: 50%;
  color: #fff;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-steps ol li:hover {
  background: #f3f4f6;
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(20px, 4vw, 30px);
  margin: clamp(30px, 6vh, 40px) 0;
}
.scenario-card {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid #059669;
  min-height: clamp(200px, 30vh, 250px);
}
.scenario-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.bg-gray {
  background: linear-gradient(135deg, #f8fafc 0, #e2e8f0 100%);
}
.cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  padding: clamp(16px, 3vh, 22px) clamp(30px, 6vw, 45px);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  text-decoration: none;
  border-radius: var(--border-radius-full);
  margin: 0 var(--spacing-md) var(--spacing-sm);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
  position: relative;
  cursor: pointer;
  border: none;
  font-family: inherit;
  min-width: clamp(200px, 30vw, 280px);
}
.faq-answer,
.faq-question {
  padding: clamp(20px, 3vh, 25px);
  position: relative;
  z-index: 2;
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
}
.cta-primary:active {
  transform: translateY(-1px);
}
.cta-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.faq-item {
  background: #fff;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  margin: clamp(20px, 3vh, 25px) 0;
  cursor: pointer;
  position: relative;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.faq-question {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  font-weight: 700;
  color: #059669;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}
.faq-answer {
  line-height: 1.8;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #374151;
}
@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll;
  }
}
@media (max-width: 768px) {
  .comparison-container,
  .results-grid,
  .scenario-cards,
  .timeline-steps {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 60vh;
    padding: clamp(50px, 10vh, 80px) 0;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .hero p {
    font-size: clamp(1.1rem, 4vw, 1.3rem) !important;
  }
  .hero p:last-of-type {
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
  }
  .hero div[style*="display: flex"] {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  .hero div[style*="display: flex"] > div {
    margin-bottom: var(--spacing-sm);
  }
  .comparison-container {
    gap: var(--spacing-lg);
  }
  .results-grid {
    gap: var(--spacing-md);
  }
  .timeline-comparison {
    padding: clamp(30px, 6vh, 40px) 0;
  }
  .timeline-comparison h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: clamp(25px, 4vh, 30px);
  }
  .timeline-steps {
    gap: var(--spacing-lg);
    margin-top: clamp(25px, 4vh, 30px);
  }
  .timeline-bar {
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 0 var(--spacing-md);
    height: clamp(45px, 7vh, 50px);
  }
  .timeline-visual h3 {
    font-size: clamp(1.1rem, 4vw, 1.2rem);
  }
  .cash-timeline,
  .traditional-timeline {
    width: 100% !important;
  }
  .cash-timeline {
    margin-bottom: var(--spacing-md);
  }
  .cta-primary {
    display: block;
    margin: var(--spacing-sm) auto;
    width: 90%;
    max-width: 320px;
  }
  .scenario-cards {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: clamp(40px, 8vh, 60px) 0;
    min-height: 55vh;
  }
  .container {
    padding: 0 clamp(10px, 2vw, 15px);
  }
  .timeline-steps ol li {
    padding-left: clamp(35px, 7vw, 40px);
  }
  .timeline-steps ol li::before {
    left: clamp(10px, 1.5vw, 12px);
    width: clamp(18px, 2.5vw, 20px);
    height: clamp(18px, 2.5vw, 20px);
  }
  .comparison-container {
    gap: var(--spacing-md);
  }
  .option-card {
    min-height: clamp(350px, 45vh, 400px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
  .faq-item::before,
  .hero::before,
  .option-card::before,
  .result-box::before,
  .scenario-card::before,
  .step-container::before {
    display: none;
  }
  .cash-timeline,
  .traditional-timeline {
    animation: none !important;
  }
}
@media print {
  .faq-item,
  .option-card,
  .scenario-card,
  .timeline-bar {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .hero {
    background: #059669 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .faq-item,
  .option-card,
  .scenario-card {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
  }
}
