.result-page {
    max-width: 1180px;
    margin: 50px auto 50px;
    font-family: Arial, sans-serif;
    color: #24324a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    border-radius: 20px;
}

.result-header {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
}

.result-page .result-header {
    background: rgba(255, 255, 255, 0.014);
    border-bottom: none;
    padding: 18px 22px;
}

.estimate-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    margin-bottom: 18px;

    border-radius: 999px;

    background: rgba(29, 127, 210, 0.12);
    border: 1px solid rgba(29, 127, 210, 0.35);

    color: #7ec8ff;
    font-size: 0.95rem;
    font-weight: 600;

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 18px rgba(29, 127, 210, 0.15);
}

.badge-icon {
    font-size: 1.5rem;
    animation: pulse 1.8s infinite;
}

.badge-title {
    font-size: 1.5rem;
}

.result-header p {
    color: grey;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.result-card {
    background: rgba(255, 255, 255, 0.014);
    border-top: 1px solid white;
    overflow: hidden;
}

.result-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
}

.result-left {
    padding: 36px 34px;
    border-right: 1px solid #e5eaf1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.check-circle-icon {
  flex-shrink: 0;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  filter: drop-shadow(0 2px 4px rgba(102, 243, 107, 0.4));
}


.eyebrow {
    margin: 0 0 14px;
    font-size: 16px;
    color: grey;
}

.result-left h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1;
    color: rgb(27, 232, 247);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.subtext {
    margin: 18px 0 0;
    max-width: 430px;
    font-size: 15px;
    line-height: 1.7;
    color: grey;
}

.result-right {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.result-right h3 {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: grey;
}


.snapshot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5eaf1;
} 

.chart-space {
  width: 100%;
  max-width: 400px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.chart-space canvas {
  width: 100% ;
  height: 100% ;
}

.snapshot-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-right: 1px solid #e5eaf1;
    font-size: 15px;
    color: #979797;
}

.snapshot-row:last-child {
    border-right: none;
}

.snapshot-row strong {
    color: rgb(27, 232, 247);
    font-weight: 700;
}

.result-footer {
    display: flex;
    justify-content: space-between; /* left - center - right */
    align-items: center;
    padding: 20px 22px;
    border-top: 1px solid #e5eaf1;
    background: rgba(255, 255, 255, 0.014);
    gap: 20px;
}

.result-footer p {
    margin: 0;
    color: grey;
    text-align: center;
}

.apply-now-btn {
    background: linear-gradient(90deg, #00f7ff, #0084ff, #00f7ff);
    background-size: 300% 100%;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    animation: iridescentBW 3s linear infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculate-btn {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(180, 180, 180, 0.6), rgba(255, 255, 255, 0.8), rgba(50, 50, 50, 0.7), rgba(255, 255, 255, 0.8));
    background-size: 300% 100%;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 12px 15px;
    animation: iridescentBW 3s linear infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculate-btn:hover {
    background: #414141;
    color: white;
}

.footer-text {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.014);
    color:grey;
    font-size: 0.8rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.result-note {
  margin: 0;
}

@media (max-width: 1300px) {
    .result-page {
        width: 95%;
    }
}

@media (max-width: 1200px) {

    .result-page {
        width: 95%;
    }

    .result-top {
        grid-template-columns: 1fr;
    }

    .result-left {
        border-right: none;
        border-bottom: 1px solid #e5eaf1;
    }

    .snapshot {
        grid-template-columns: 1fr;
    }

    .snapshot-row {
        border-right: none;
        border-bottom: 1px solid #e5eaf1;
    }

    .snapshot-row:last-child {
        border-bottom: none;
    }

    .result-footer {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .result-page {
        width: 95%;
        padding: 0 10px;
    }

    .result-header h1{
        font-size: 28px;
    }

    .badge-icon,
    .badge-title{
        font-size: 0.9rem;
    }

    .result-left,
    .result-right {
        padding: 22px 18px;
    }

    .snapshot-row,
    .result-footer {
        padding-left: 18px;
        padding-right: 18px;
        font-size: 0.8rem;
    }

    .calculate-btn,
    .apply-now-btn{
        padding: 8px;
        width: 100%;
        text-align: center;
    }

    .chart-space {
        width: 190px;
        height: 190px;
    }

    .result-note{
        font-size: 0.6rem;
    }
}