@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --main-bg: #eafaf1;
    --text-color: #080c16;
    --primary-color: #00ad6a;
    --secondary-color: #1fe374;
    --tertiary-color: #555;
    --white: #ffffff;
    --footer-bg: #000;
}

body{
    background-color: var(--main-bg);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* HEADER */
.header{
    padding: 1.75rem 0;
}

.container{
    max-width: 1200px;
    margin: 0 auto; /* to center the container horizontally */
    padding: 0 2rem;
}

.primary-nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img{
    height: 40px;
}

.nav-wrapper{
    display: flex;
    align-items: center;
    gap: 3rem; /* space between nav elements and signup button */
    /*border: 2px solid red;*/
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link{
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link.pricing{
    color: var(--text-color);
    font-weight: 600;
}

.nav-link:hover{
    color: var(--secondary-color);
}

.signup-btn{
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.signup-btn:hover{
   background-color: var(--secondary-color);
   transform: translateY(-1px);
}

/* HERO SECTION */
.hero-section{
    text-align: center;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1{
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-section p{
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* MAIN CONTENT LAYOUT */
.main-content{
    /*border: 2px solid yellow;*/
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid; /* making pricing layout and some description appear in a 2 column layout */
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* BASICS INFO (Left side) */
.basics-info{
    padding: 2rem 0;
}

.basics-info h3{
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.basics-list{
   margin-left: 1.5rem;
}

.basics-list li{
    padding-left: 0;
    margin-bottom: 1rem;
    position: relative;
}

.basics-cta{
   line-height: 1.6;
   margin-left: 1rem;
}

.basics-cta a{
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.basics-cta a:hover{
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}


/* PRICING CARDS (Right side) */
.pricing-section{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing-card{
    background-color: var(--white);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(31, 227, 116, 0.2);
}

.pricing-card.featured{
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(31, 227, 116, 0.2);
}

.plan-name{
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.plan-price{
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-button{
    width: 100%;
    background-color: var(--secondary-color);
    border: none;
    color: var(--text-color);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3 ease;
}

.cta-button:hover{
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.features-intro{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.features-list{
    list-style: none;
    text-align: left;
}

.features-list li{
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-icon{
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* QUOTE SECTION*/
.quote-section{
    text-align: center;
    margin-bottom: 1.75rem;
}

.quote-section img{
    margin-bottom: 0.5rem;
}

.quote-sentence{
    font-style: italic;
    padding: 0.75rem;
}

.quote-section h4{
    text-transform: uppercase;
    color: var(--primary-color);
}

/* FAQ CONTENT */
.faq-section{
    background-color: var(--white);
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.faq-grid{
    display: grid;
    grid-template-columns: 1fr 1fr; /* creates a 2 columns grid */
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title{
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    text-align: center;
}

.faq-question{
    padding: 1.5rem;
}

.question-title{
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.short-answer{
    font-size: 0.95rem;
    color: var(--tertiary-color);
    line-height: 1.6;
}

.short-answer span{
    font-style: italic;
    font-weight: 500;
}

/* FOOTER SECTION */
footer{
    background-color: var(--footer-bg);
    color: var(--tertiary-color);
    line-height: 1.5;
    width: 100%;
    margin-top: auto;
}

footer ul{
    list-style: none;
    padding: 0;
}

footer a{
    color: var(--tertiary-color);
    transition: color 0.3s ease;
}

footer a:hover{
    color: var(--white);
}

.ft-title{
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

/* center all the footer content */
.ft-main-container,
.ft-legal-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ft-main{
    padding: 3rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.ft-main-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    /*border: 3px solid green;*/
}

.ft-main-item{
    padding: 1.25rem;
    min-width: 12.5rem;
}

.ft-main-item li a{
    color: var(--primary-color);
    font-weight: 500;
}

.ft-main-item li a:hover{
   color: var(--white);
}

.ft-signup{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /*border: 2px solid red;*/
    margin-left: 0;
    
}

.ft-signup img{
    height: 60px;
}

.ft-signup-btn{
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    border: none;
}

.ft-signup-btn:hover{
    background-color: var(--primary-color);
    opacity: 0.8;
}

.ft-legal{
    padding: 0.9375rem 0;
    border-top: 1px solid #333;
}

.ft-legal-content{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.ft-legal-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.ft-legal-list li{
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-cta{
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
}

.footer-cta:hover{
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Media queries for responsiveness */
@media (max-width: 768px){
    .nav-wrapper{
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links{
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-section h1{
        font-size: 2rem;
    }

    .main-content{
        padding: 0 1rem 2rem;
    }

    .faq-grid{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-title{
        font-size: 2rem;
    }

    .faq-section{
        padding: 2rem 1rem;
    }

    .ft-main{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ft-main-container{
        flex-direction: column;
        align-items: center;
    }

    .ft-signup-btn{
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .ft-main-item{
        padding: 0.5rem 0;
    }

    .ft-legal-content{
        flex-direction: column;
        text-align: center;
    }

    .footer-cta{
        align-self: center;
        width: 100%;
        max-width: 200px;
    }

}

@media (max-width: 1024px) {
    .main-content{
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-section h1{
        font-size: 2.5rem;
    }
}
