@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

    line-height: 1.6;

    background-color: #ffffff;

}



.container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

    position: relative;

    z-index: 2;

}



.form-section {

    text-align: center;

    margin: 2rem 0;

}



.input-group {

    display: block;

    max-width: 900px;

    margin: 0 auto;

    background: rgba(255, 255, 255, 0.1);

    padding: 2rem;

    border-radius: 10px;

    backdrop-filter: blur(5px);

    width: 100%;

}



.form-instructions {

    color: #ffd124;

    font-size: 1.1rem;

    margin-bottom: 1.5rem;

    width: 100%;

    text-align: center;

}



.search-box {

    position: relative;

    max-width: 800px;

    margin: 0 auto;

    background: white;

    border-radius: 8px;

    overflow: hidden;

    padding: 1rem;

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.search-box input {

    width: 100%;

    padding: 1rem;

    font-size: 1.1rem;

    border: none;

    outline: none;

    background: #f5f5f5;

    color: #000000;

    border-radius: 4px;

}



.search-box input:focus {

    background: #ffffff;

    box-shadow: 0 0 0 2px rgba(69, 175, 74, 0.2);

}



.search-box input::placeholder {

    color: #666;

    opacity: 0.8;

}



#address {

    flex: 2;

}



#monthly-bill {

    flex: 1;

    min-width: 150px;

}



#analyze-btn {

    width: 100%;

    padding: 1rem;

    background: #45af4a;

    color: white;

    border: none;

    border-radius: 4px;

    cursor: pointer;

    font-weight: 600;

    font-size: 1.2rem;

    transition: background-color 0.3s;

}



#analyze-btn:hover {

    background: #3d9b42;

}



.chevron {

    margin-left: 0.5rem;

}



.error-text {

    color: #ff4444;

    display: none;

    margin-top: 0.5rem;

    font-size: 0.9rem;

    text-align: center;

}



/* Remove number input spinners */

input[type="number"]::-webkit-inner-spin-button,

input[type="number"]::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



input[type="number"] {

    -moz-appearance: textfield;

}



#map-container {

    position: relative;

    height: 400px;

    margin: 2rem 0;

}



#map {

    height: 100%;

    width: 100%;

    border-radius: 8px;

}



#scanner {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(to right, transparent, #2196f3, transparent);

    animation: scan 2s linear infinite;

}



.results-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin: 2rem 0;

}



.result-card {

    background: white;

    padding: 1.5rem;

    border-radius: 8px;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

}



.cta-section {

    text-align: center;

    padding: 0.75rem;

    background: #f5f5f5;

    border-radius: 8px;

    margin-bottom: 0.5rem;

}



.cta-section h3 {

    color: #333;

    margin-bottom: 0.2rem;

    font-size: 1.2rem;

}



.cta-section p {

    color: #666;

    margin-bottom: 0.5rem;

    font-size: 0.9rem;

}



.cta-button {

    background: #FFB800;

    color: black;

    font-weight: bold;

    padding: 1rem 2rem;

    border-radius: 4px;

    width: 100%;

    border: none;

    cursor: pointer;

    transition: background-color 0.3s;

}



.cta-button:hover {

    background: #FFA000;

}



.cta-buttons {

    display: flex;

    gap: 1rem;

    justify-content: center;

    margin-top: 2rem;

}



.cta-primary {

    background-color: #4caf50;

}



.cta-secondary {

    background-color: #ff9800;

}



.hidden {

    display: none;

}



@keyframes scan {

    0% {

        top: 0;

    }

    50% {

        top: calc(100% - 4px);

    }

    100% {

        top: 0;

    }

}



.hero-section {

    background-image: url('https://des.solar/wp-content/uploads/2023/03/fmf_kZro0l2.jpg_1678750864.jpeg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    min-height: 100vh;

    width: 100%;

    position: relative;

    padding: 0;

    color: #ffffff;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}



.hero-section::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.5);

    z-index: 1;

}



.hero-section::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 200px;

    background: linear-gradient(180deg, 

        rgba(69, 175, 74, 0) 0%,

        rgba(69, 175, 74, 0.2) 50%,

        rgba(69, 175, 74, 0) 100%);

    animation: scanBackground 4s ease-in-out infinite;

    z-index: 1;

}



@keyframes scanBackground {

    0% {

        transform: translateY(-100%);

    }

    50% {

        transform: translateY(100vh);

    }

    100% {

        transform: translateY(-100%);

    }

}



.hero-section > * {

    position: relative;

    z-index: 2;

}



.hero-content {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

    text-align: center;

    position: relative;

    z-index: 2;

}



.hero-title {

    margin: 2rem 0;

}



.hero-title h2 {

    font-size: 3.5rem;

    line-height: 1.2;

    margin: 0;

    max-width: 100%;

    color: #ffffff;

    font-weight: 700;

    margin-bottom: 2rem;

    text-align: center;

}



@media (max-width: 1200px) {

    .hero-title h2 {

        font-size: 2.5rem;

    }

}



@media (max-width: 992px) {

    .hero-title h2 {

        font-size: 2rem;

    }

}



@media (max-width: 768px) {

    .hero-title h2 {

        font-size: 2rem;

        line-height: 1.3;

    }

}



.highlight {

    color: #4CAF50;

}



.bold {

    font-weight: 700;

}



.underline {

    text-decoration: underline;

    border-bottom: 2px solid #4CAF50;

}



.hero-subtitle {

    font-size: 1.5rem;

    color: #ffffff;

    margin-bottom: 3rem;

    max-width: 900px;

    margin-left: auto;

    margin-right: auto;

}



.location-icon {

    padding: 1rem;

    color: #666;

}



.search-box input::placeholder {

    color: #000000;

    opacity: 0.8;

}



.search-box input[type="number"] {

    flex: 0.5;

    min-width: 200px;

}



.header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem 2rem;

    background: white;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

    z-index: 100;

}



.address-display {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.talk-expert-btn {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    background-color: #0B2A5B;

    color: white;

    padding: 0.75rem 1.5rem;

    border-radius: 4px;

}



.loading-screen {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.8);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 1000;

}



.loading-map {

    position: relative;

    width: 80%;

    height: 80vh;

    max-width: 1200px;

    border-radius: 8px;

    overflow: hidden;

}



#loading-map-view {

    width: 100%;

    height: 100%;

}



.scanning-line {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 200px;

    background: linear-gradient(to right, 

        rgba(69, 175, 74, 0) 0%,

        rgba(69, 175, 74, 0.4) 50%,

        rgba(69, 175, 74, 0) 100%);

    animation: scanBackground 4s ease-in-out infinite;

    z-index: 2;

}



.scanning-overlay {

    position: absolute;

    top: 30%;

    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: white;

    z-index: 3;

    background: rgba(0, 0, 0, 0.7);

    padding: 2rem;

    border-radius: 8px;

}



.progress-bar {

    width: 300px;

    height: 4px;

    background: rgba(255, 255, 255, 0.2);

    border-radius: 2px;

    margin-top: 1rem;

    overflow: hidden;

}



.progress {

    width: 0%;

    height: 100%;

    background: #2196f3;

    animation: progress 10s linear forwards;

}



@keyframes progress {

    from { width: 0%; }

    to { width: 100%; }

}



.results-layout {

    display: grid;

    grid-template-columns: 1fr 600px;

    gap: 2rem;

    margin: 0 auto;

    max-width: 1400px;

    margin-top: 0.5rem;

    padding: 1rem;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    position: relative;

    z-index: 2;

    height: calc(100vh - 100px);

    overflow: auto;

}



.map-section {

    position: relative;

    height: 100%;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}



.info-section {

    background: white;

    padding: 0.75rem;

    border-radius: 8px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    height: fit-content;

    max-height: 100%;

    overflow: auto;

}



.system-info {

    background: #f8f9fa;

    padding: 0.75rem;

    border-radius: 12px;

    margin: 0.5rem 0;

    border: 1px solid rgba(0, 0, 0, 0.1);

}



.info-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0.35rem 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

}



.info-row:last-child {

    border-bottom: none;

}



.info-row label {

    font-size: 0.95rem;

    color: #333;

    font-weight: 600;

}



.info-row span {

    color: #4CAF50;

    font-weight: 700;

    font-size: 1.1rem;

}



.savings-highlight {

    border-bottom: none !important;

    margin-top: 0.5rem;

    padding-top: 0.5rem !important;

    border-top: 2px solid #4CAF50 !important;

}



.savings-highlight label {

    color: #4CAF50 !important;

    font-size: 1.2rem !important;

}



.savings-highlight span {

    font-size: 1.4rem !important;

}



.highlight-red {

    color: #ff4444 !important;

}



.panel-adjustment {

    margin: 2rem 0;

}



.next-btn {

    width: 100%;

    background: #FFB800;

    color: black;

    font-weight: bold;

    padding: 1rem;

    border-radius: 4px;

}



.error-message {

    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    background: #ff4444;

    color: white;

    padding: 1rem 2rem;

    border-radius: 4px;

    box-shadow: 0 2px 4px rgba(0,0,0,0.2);

    z-index: 1001;

    text-align: center;

}



.scanning-text {

    position: absolute;

    top: 20px;

    left: 50%;

    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.7);

    color: white;

    padding: 10px 20px;

    border-radius: 4px;

    z-index: 10;

}



h1 {

    color: #ffffff;

    font-size: 2rem;

    margin-bottom: 2rem;

    text-transform: uppercase;

    letter-spacing: 1px;

}



#analysis-section {

    background-image: url('https://des.solar/wp-content/uploads/2023/03/fmf_kZro0l2.jpg_1678750864.jpeg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    min-height: 100vh;

    width: 100%;

    position: relative;

    padding: 0;

    padding-top: 80px;

}



#analysis-section::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.6);

    z-index: 1;

}



#analysis-section .container {

    position: relative;

    z-index: 2;

}



.info-section h2 {

    color: #333;

    font-size: 1.6rem;

    margin-bottom: 0.25rem;

}



.info-section .subtitle {

    color: #666;

    font-size: 1.1rem;

    margin-bottom: 0.35rem;

}



@media (max-width: 1200px) {

    .results-layout {

        grid-template-columns: 1fr;

        margin-top: 1rem;

        height: auto;

        padding: 1rem;

    }



    .map-section {

        height: 300px;

    }

}



@media (max-width: 768px) {

    .hero-title h2 {

        font-size: 1.3rem;

    }



    .hero-subtitle {

        font-size: 1.2rem;

        padding: 0 1rem;

        margin-bottom: 2rem;

    }



    .search-box {

        flex-direction: column;

        padding: 1rem;

        gap: 0.5rem;

    }



    .search-box input {

        width: 100%;

        min-width: unset;

    }



    .search-box button {

        width: 100%;

    }



    .info-section {

        padding: 1rem;

    }



    .system-info {

        padding: 1rem;

    }



    .info-row {

        flex-direction: column;

        align-items: flex-start;

        gap: 0.25rem;

    }



    .info-row span {

        align-self: flex-end;

    }



    .header {

        padding: 0.75rem 1rem;

        flex-wrap: wrap;

        gap: 0.5rem;

    }



    .talk-expert-btn {

        padding: 0.5rem 1rem;

        font-size: 0.9rem;

    }



    #bill-error {

        margin-left: 0;

    }



    .logo-container {

        margin-bottom: 2rem;

    }

}



@media (max-width: 480px) {

    .hero-title h2 {

        font-size: 1.5rem;

    }



    .hero-subtitle {

        font-size: 1rem;

    }



    .info-section h2 {

        font-size: 1.4rem;

    }



    .info-section .subtitle {

        font-size: 1rem;

    }



    .cta-section {

        padding: 1rem;

    }



    .cta-section h3 {

        font-size: 1.2rem;

    }



    .cta-section p {

        font-size: 0.9rem;

    }



    .scanning-overlay {

        width: 90%;

        padding: 1rem;

    }



    .progress-bar {

        width: 100%;

    }

}



.logo-container {

    margin-bottom: 2rem;

}



.des-logo {

    max-width: 300px;

    height: auto;

    margin: 0 auto;

    display: block;

}



@media (min-width: 1400px) {

    .results-layout {

        grid-template-columns: minmax(600px, 1fr) 600px;

    }

}



.chevron {

    font-size: 1.5em;

    font-weight: 300;

    line-height: 0;

    position: relative;

    top: -1px;

}



.hero-title .second-line {

    display: block;

    text-align: center;

}



.rotating-container {

    position: relative;

    display: inline-block;

    min-height: 1.2em;

    width: 100%;

    text-align: center;

}



.yellow-text {

    color: #45af4a;

    position: relative;

    left: 0;

    right: 0;

    animation: fadeInOut 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;

    opacity: 0;

    display: inline-block;

    text-align: center;

}



.text-1 {

    animation-delay: 0s;

    opacity: 1;

    position: absolute;

    width: 100%;

    left: 0;

}



.text-2 {

    animation-delay: 4s;

    position: absolute;

    width: 100%;

    left: 0;

}



@keyframes fadeInOut {

    0%, 45% { opacity: 1; }

    50%, 95% { opacity: 0; }

    100% { opacity: 0; }

}



.sharpie-underline {

    position: relative;

    color: #ffd124;

}



.sharpie-underline::after {

    content: '';

    position: absolute;

    left: -2%;

    bottom: -3px;

    width: 104%;

    height: 6px;

    background: #ffd124;

    opacity: 0.3;

    border-radius: 10px;

    transform: rotate(-1deg);

    filter: url(#marker-shape);

}



.survey-section {

    margin: 2rem 0;

    padding: 2rem;

    background: #f5f5f5;

    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}



.survey-content {

    max-width: 500px;

    margin: 0 auto;

}



.survey-section.hidden {

    display: none;

}



.survey-content h2 {

    color: #333;

    font-size: 1.4rem;

    margin-bottom: 2rem;

    text-align: center;

}



.survey-step {

    display: none;

}



.survey-step.active {

    display: block;

}



.survey-step h3 {

    color: #333;

    font-size: 1.2rem;

    margin-bottom: 1rem;

}



.input-field input {

    width: 100%;

    padding: 1rem;

    border: 1px solid #ddd;

    border-radius: 4px;

    font-size: 1rem;

    margin-bottom: 1rem;

}



.input-field input.error {

    border-color: #ff4444;

    background-color: #fff8f8;

}



.input-field input.error::placeholder {

    color: #ff4444;

}



.ownership-boxes {

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1.5rem;

}



.ownership-boxes label {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    cursor: pointer;

    color: #333;

    flex: 1;

}



.ownership-boxes input[type="radio"] {

    display: none;

}



.ownership-box {

    background: white;

    border: 2px solid #ddd;

    border-radius: 8px;

    padding: 1.5rem;

    text-align: center;

    transition: all 0.3s;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0.5rem;

}



.ownership-boxes input[type="radio"]:checked + .ownership-box {

    border-color: #45af4a;

    background: #f8fff8;

}



.ownership-box.error {

    border-color: #ff4444;

    background-color: #fff8f8;

}



.checkmark, .x-mark {

    font-size: 1.5rem;

    color: #45af4a;

    margin-bottom: 0.5rem;

}



.x-mark {

    color: #ff4444;

}



.consent-group {

    margin: 1.5rem 0;

}



.consent-group label {

    display: flex;

    align-items: flex-start;

    gap: 0.5rem;

    font-size: 0.9rem;

    color: #666;

    line-height: 1.4;

    text-align: left;

    padding-right: 1rem;

}



.survey-next,

.survey-submit {

    background: #45af4a;

    color: white;

    padding: 1rem 2rem;

    border: none;

    border-radius: 4px;

    width: 100%;

    font-weight: bold;

    cursor: pointer;

    transition: background 0.3s;

}



.survey-next:hover,

.survey-submit:hover {

    background: #3d9b42;

}



.success-message {

    text-align: center;

    padding: 2rem;

}



.success-message h2 {

    color: #45af4a;

    margin-bottom: 1rem;

}



.success-message p {

    color: #666;

    font-size: 1.1rem;

}



.cost-label-group {

    display: flex;

    flex-direction: column;

    gap: 0.25rem;

}



.rate-note {

    font-size: 0.8rem;

    color: #666;

    font-style: italic;

}



.dummy-disclaimer {

    font-size: 0.8rem;

    color: #666;

    font-style: italic;

    margin-top: 1rem;

    text-align: left;

}



.dummy-disclaimer.hidden {

    display: none;

}



.input-container {
    display: none;
}

.input-container.active {
    display: block;
}

.input-container input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    outline: none;
    background: white;
    color: #000000;
}

#address-next {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#address-next:hover {
    background: var(--primary-color-dark);
} 