:root {
    --primary: #ffd700;
    --primary-light: #ffeb99;
    --primary-dark: #e6c200;
    --secondary: #333945;
    --secondary-light: #4e576a;
    --text: #2c2c2c;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #f8f9fa;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    height: 40px;
}

.main-nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 3px;
}

.calculator-container {
    width: 100%;
    margin: 0;
    padding: 80px 0 0;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
}

#results-container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.results-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.results-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxkZWZzPgogICAgICAgIDxwYXR0ZXJuIGlkPSJzb2xhclBhdHRlcm4iIHg9IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgICAgICAgIDxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjEiIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4xKSIgLz4KICAgICAgICA8L3BhdHRlcm4+CiAgICA8L2RlZnM+CiAgICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3NvbGFyUGF0dGVybikiIC8+Cjwvc3ZnPg==');
    opacity: 0.3;
}

.results-hero-content {
    position: relative;
    z-index: 1;
}

.results-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.results-title {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto;
}

.region-info {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.results-main {
    padding: 60px 0;
    position: relative;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.metric-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.primary-metric {
    grid-column: span 1;
}

.primary-metric.highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.system-spec {
    background-color: #f8f9fa;
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.metric-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    display: inline-block;
}

.metric-unit {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    margin-left: 5px;
    display: inline-block;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 15px;
}

.savings-visual-container {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.savings-visual-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary);
}

.savings-chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 20px;
}

.roi-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 0, 0, 0.5);
    z-index: 10;
}

.roi-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: rgba(255, 0, 0, 0.7);
}

.roi-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 0, 0, 0.1);
    color: #d30000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.impact-container {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.impact-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary);
}

.impact-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.impact-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.impact-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tree-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.tree-icon {
    font-size: 2rem;
}

.more-trees {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-left: 5px;
}

.co2-reduction {
    text-align: center;
}

.co2-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.co2-unit {
    font-size: 1.2rem;
    color: var(--text-light);
}

.impact-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.impact-label {
    font-size: 1rem;
    color: var(--text-light);
}

.floating-cta {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 300px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.5s ease;
}

.floating-cta.visible {
    transform: translateX(0);
}

.floating-cta .cta-content {
    text-align: center;
}

.floating-cta h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.floating-cta p {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.simple-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 250px;
}

.chart-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.chart-value {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.chart-label {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: var(--secondary);
}

@media (max-width: 1200px) {
    .floating-cta {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .floating-cta {
        right: 20px;
        bottom: 20px;
        width: 220px;
    }
    
    .floating-cta h3 {
        font-size: 1.3rem;
    }
    
    .floating-cta p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .primary-metric {
        grid-column: span 2;
    }
    
    .primary-metric:last-child {
        grid-column: 1 / -1;
    }
    
    .savings-chart-wrapper {
        height: 300px;
    }
    
    .floating-cta {
        width: 100%;
        right: 0;
        bottom: 0;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 576px) {
    .results-hero h2 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .primary-metric {
        grid-column: span 1;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .savings-chart-wrapper {
        height: 250px;
    }
    
    .impact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .impact-item {
        width: 100%;
    }
    
    .savings-visual-container,
    .impact-container {
        padding: 20px;
    }
}

/* Improved Disclaimer tooltip styling */
.disclaimer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
  position: relative;
  margin-left: 5px;
  vertical-align: middle;
}

.disclaimer-icon .tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  background-color: var(--secondary);
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 13px;
  color: white;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.disclaimer-icon .tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--secondary) transparent transparent transparent;
}

.disclaimer-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 20px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eaeaea;
    margin-top: 40px;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.disclaimer-text {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    text-align: left;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .disclaimer-content {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .disclaimer-text {
        font-size: 12px;
        text-align: center;
    }
}

/* Footer styling with improved contrast */
.footer {
    background-color: var(--secondary);
    color: #f0f0f0;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 300px;
    line-height: 1.8;
}

.footer-heading {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.contact-info svg {
    margin-right: 10px;
    flex-shrink: 0;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #f0f0f0;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about, .footer-links-container, .footer-contact {
        text-align: center;
    }
    
    .footer-about p {
        max-width: 100%;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: -60px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 999;
}

.scroll-top.active {
    bottom: 25px;
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
}

/* Fix for mobile tap highlight on contact info */
.footer a,
.contact-info a,
.contact-info li {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.contact-info li span {
    display: inline-block;
}

.contact-info li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info li a:hover,
.contact-info li a:active {
    color: var(--primary);
} 