﻿@charset "utf-8";

/*------------------------------------------------------------------------- SECTION: PRODUCT BANNER
*/
section.product-banner::after {
    opacity: 0.25;   
}
@media (min-width: 768px) {
    section.product-banner .container {
        background: url(/images/dailyforecast/dailyforecast-banner-2026.png) right bottom no-repeat;
        background-size: clamp(800px, 60%, 1100px) auto; /* min, expected, max */
    }
}
@media (max-width: 767px) and (min-width: 480px)
{
    section.product-banner .container {
        background: url(/images/dailyforecast/piggy-bank.png) 90% bottom no-repeat;
        background-size: auto 90%;
    }
}
@media (max-width: 767px) {
    section.product-banner {
        background: url(/images/dailyforecast/chart-bg.jpg);
        background-size: cover;
    }

}

/*------------------------------------------------------------------------- SECTION: ABOUT DAILYFORECAST
*/
section.about-df {
    background: #1f2030;
    padding: 40px 0;
}
section.about-df .container {
    background: url(/images/dailyforecast/dailyforecst-in-a-box.png) right center no-repeat;
    background-size: auto clamp(200px, 100%, 475px); /* min, expected, max */
    padding: 40px;
}
section.about-df .column:first-of-type {
    display: flex;
    align-items: center;
}
section.about-df .image-wrapper {
    transform: scale(120%) translateX(40%);
    flex: 1 0 50%;
    max-width: 540px;
}

@media (max-width: 1280px)
{
    section.about-df .container {
        background-position: right bottom;
    }
    section.about-df .column:first-of-type {
        flex-direction: column;
    }
    section.about-df .image-wrapper {
        transform: scale(100%);
        margin-top: 40px;
    }
}
@media (max-width: 767px)
{
    section.about-df .container {
        background: transparent;
    }
}

/*------------------------------------------------------------------------- SECTION: USER TYPES
*/
section.user-types {
    background-color:#1C1D2B; 
    padding: 20px 0;
}
section.user-types::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #A25A2A 0%, #DBB254 50%,#A25A2A 100%);
    opacity: 0.4;
}
section.user-types ul.icon-list {
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
}
section.user-types ul.icon-list li {
    padding-right: 20px;
}
section.user-types ul.icon-list li:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(rgba(255,255,255,0), #fff 50%, rgba(255,255,255,0));
}
section.user-types ul.icon-list .icon {
    border: none;
    width: 80px;
    aspect-ratio: 1;
    flex: 1 1 80px;
    min-width: 40px;
}
section.user-types ul.icon-list .icon:before {
    background-size: 100%;
    filter: invert(88%) sepia(10%) saturate(2753%) hue-rotate(339deg) brightness(89%) contrast(90%);
}
section.user-types ul.icon-list li p {
    font-size: 14px;
}

@media (max-width: 767px) {
    section.user-types ul.icon-list {
        flex-direction: column;
    }
}

/*------------------------------------------------------------------------- SECTION: PROBLEMS AND SOLUTIONS
*/
section.problems-and-solutions {
    background: linear-gradient(90deg, #f0e6dc 50%, #faf9f6 50%);  
    border-top: 1px solid rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding: 0;
    overflow: hidden;
}
section.problems-and-solutions .container {
    padding: 0; 
}
section.problems-and-solutions .column {
    background: center top no-repeat;
    background-size: cover;
}    
section.problems-and-solutions .column:first-of-type {
    padding: 60px 40px 60px 40px;
}
section.problems-and-solutions .column:last-of-type {
    padding: 60px 40px 60px 40px;
}
section.problems-and-solutions .icon-list .icon {
    border-color: #aaa;
}
section.problems-and-solutions .icon-list .icon::before {
    filter: invert(1);
    background-size: 60%;
}

@media (max-width: 1080px) and (min-width: 767px), (max-width: 580px)
{
    section.problems-and-solutions .column:last-of-type {
        flex-direction: column;
    }
    section.problems-and-solutions .image-wrapper {
        transform: none;
    }
}

@media (max-width: 767px)
{
    section.problems-and-solutions {
        background: transparent;
    }
    section.problems-and-solutions .container {
        padding: 0;
    }
    section.problems-and-solutions .column:first-of-type,
    section.problems-and-solutions .column:last-of-type {
        padding: 60px 40px;
    }
    section.problems-and-solutions .column:first-of-type {
        background-color: #f0e6dc;
    }
    section.problems-and-solutions .column:last-of-type {
        background-color: #faf9f6;
    }
}

/*------------------------------------------------------------------------- SECTION: FEATURES
*/
section.features {
    background: url(/images/dailyforecast/chart-bg.jpg) center center no-repeat;
    background-size: cover;
    text-align: center;
    padding-top: 80px;
}
section.features .snippets .container {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    justify-content: center;
}
section.features .snippets .snippet {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background-color: rgba(43,44,66,0.4);
    max-width: 100%;
    min-width: 32px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    padding: 20px;
}
section.features .snippets .snippet .snippet-image-wrapper {
    height: 280px;
    z-index: -1;
}
section.features .snippets .snippet .icon {
    height: 80px;
    width: 80px;
    display: block;
    border-radius: 50%;
    background-color: rgb(31,32,48,0.7);
    position: absolute;
    top: -10px;
    left: -10px;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
section.features .snippets .snippet .icon::before {
    filter: invert(1);
    background-size: 60%;
}
section.features .snippets .snippet h4 {
    font-family: 'clear-sans';
    text-transform: none;
    font-weight: bold;
    font-size: 28px;
    letter-spacing: -1px;
    text-align: left;
    color: #fff;
}
section.features .snippets .snippet h2 {
    color: var(--c3Yellow);
    margin: 0 0 10px;
}
section.features .snippets .snippet p {
    text-align: left;
}

@media (max-width: 1280px)
{
    section.features .snippets .container {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
    }
}
@media (max-width: 767px)
{
    section.features .snippets .container {
        grid-template-columns: 1fr;
    }
}
/*------------------------------------------------------------------------- SECTION: CALL TO ACTION
*/
section.call-to-action {
    background-color: rgba(6,9,24,0.5);
    padding: 40px 0;
}
section.call-to-action::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
}
section.call-to-action .container {
    display: flex;
    align-items: center;
    gap: 40px;
}
section.call-to-action h2 {
    font-size: 24px;
    letter-spacing: -1px;
    font-weight: bold;
    margin: 0 auto 10px;
}
section.call-to-action p {
    margin: 0 0 5px;
}
section.call-to-action .button {
    margin: 0 0 0 auto;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    max-width: 240px;
    background-color: var(--c3DarkBlue);
    color: #fff;
}
section.call-to-action .button:hover {
    background-color: var(--c3Yellow);
    color: var(--c3BlackBlue);
    border-color: transparent;
}
section.call-to-action .piggy-bank {
    display: block;
    max-width: 160px;
    width: 100%;
    margin: -200px 0 -40px -40px;
}

@media (max-width: 767px)
{
    section.call-to-action {
        padding: 80px 20px 40px;
    }
    section.call-to-action .container {
        flex-direction: column;
        text-align: center;
    }
    section.call-to-action .button {
        margin: 0 auto;
    }
    section.call-to-action .piggy-bank {
        margin: -180px 0 -20px;
    }
}

/*------------------------------------------------------------------------- SECTION: FOOTNOTE
*/
.footnote {
    color: var(--c3LightGrey);
    margin: 30px auto;
    line-height: 1.4em;
    text-align: center;
    max-width: 960px;
}