/* ============================================ */
/* Global Styles & Variables */
/* ============================================ */

:root {
    --night: #000000;
    /*--red: #e94448ff;*/
    --red: #9E2E2E;
    --red-darker: #802424;
    --blue: #60d9f3ff;
    --white: #ffffff;
    --grey: #404040;
}

/* A modern CSS reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', sans-serif;
    color: var(--night);
    background-color: var(--white);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}


footer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: fit-content;
    background-color: #1a1a1a;
}

h1, h2, h3 {
    text-align: center;
}

h1 {
    font-size: 40px;
    line-height: 1em;
    letter-spacing: -0.04em;
}

p {
    line-height: 1.6;
    color: var(--grey);
    text-align: left;
}

.subheadline {
    font-size: 24px;
    line-height: 1em;
    letter-spacing: -0.04em;
    text-align: center;
}

a {
    color: var(--white);
    text-decoration: none;
}

/*a:hover {
    /*text-decoration: underline;*/
/*}*/
main {
    align-items: center;
    align-content: center;
}

/* ============================================ */
/* Header & Navigation Styles */
/* ============================================ */

.main-navigation {
    display: flex;
    position: fixed;
    justify-content: space-between; /* Pushes logo left, links right */
    align-items: center;           /* Vertically aligns logo and links */
    padding: 20px 40px;            /* Adds some space on top/bottom and sides */
    width: 100%;
    height: 64px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Adds a subtle shadow for depth */
    z-index: 1000; /* Ensures it stays above all other content */
}

.logo img {
    height: 40px; /* This is your primary control. Adjust as needed. */
    width: auto;  /* This is crucial! It tells the browser to automatically calculate the width to maintain the original aspect ratio. */
    display: block; /* A pro-tip to prevent any weird, tiny extra space below the image. */
}

/* ============================================ */
/* Hero Section Styles */
/* ============================================ */

.hero {
    width: 960px;
    min-height: 100vh; /* Use min-height for better flexibility */
    display: flex; /* NOW we use flexbox */
    justify-content: center; /* This centers the content horizontally */
    align-items: center; /* This centers the content vertically */
    padding: 64px 20px 0; /* Apply padding here for content safety */
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column; /* Stack the items vertically */
    align-items: center;   /* Center the items horizontally */
    text-align: center;
    gap: 40px;
}

.headings {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.cta-button {
    /*background-color: #E94448;*/
    background-color: var(--red);
    padding: 12px 24px;
    align-self: center;
    text-decoration: none; /* Remove the default underline on links */
    font-weight: bold;
    border-radius: 50px; /* This makes the corners fully rounded */
    border: none; /* Remove any default border */
    text-align: center;
}

.cta-button .mobile-text {
    display: none; /* Hide the mobile text by default */
}

.how-it-works-button {
    background-color: var(--night);
    color: var(--white);
    padding: 12px 24px;
    align-self: center;
    text-decoration: none; /* Remove the default underline on links */
    font-weight: bold;
    border-radius: 50px; /* This makes the corners fully rounded */
    border: none; 

}

.cta-button:hover {
    background-color: #802424; /* A slightly darker red for the hover effect */
    text-decoration: none;
    cursor: pointer; /* Changes the mouse to a hand pointer */
}

.buttons-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;

}

/* ============================================ */
/* Media Querries Section Styles ============== */
/* ============================================ */

/* Small Phone */
@media (max-width:320px) {
    /*General Styles*/
    h1{
        font-size: 32px;;
    }
    h2 {
        font-size: 32px; /* Adjusted for smaller screens */
    }

    /*Header*/
    .main-navigation {
        padding: 20px ;
        height: 100px;
    }

    .logo img {
        height: 15px;
        width: auto;
    }

    a.cta-button .mobile-text {
        width: fit-content;
        height: fit-content;
        font-size: 16px;
    }

    a.cta-button .desktop-text {
        display: none;
    }
    
    /*Hero Section*/
    .hero {
        width: 100%;
        padding: 100px 20px ;
    }

    .hero-content {
        width: 100%;
        height: 100%;
        padding: 0px 20px;
    }

    h1 {
        font-size: 30px;
    }

    p.subheadline {
        font-size: 16px; /* Adjusted for smaller screens */
        line-height: 1.4; /* Adjusted for readability */
        text-align: center; /* Centered for better alignment */
    }

    .buttons-wrapper {
        flex-direction: column;
        width: 100%;
    }

    a.cta-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px
    }

    a.how-it-works-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px;
    }

    .hero-shot {
        width: 100%;
        height: auto; /* Adjust height for responsiveness */
    }

    .logo img {
        height: 30px; /* Smaller logo on mobile */
    }

    /*Competitor Row*/
    .competitor-row-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        justify-items: center;
        height: fit-content;
    }

    .competitor-row-content svg {
        height: 100px;
        width: 100%;    
    }

    /*Pain Points*/
    .pain-points-bar-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 0;
        gap: 20px; /* Add some space between items */
        border-radius: 0;
    }

    /*Solution Section*/
    .solution-section-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
    }

    /*Core Benefits*/
    .core-benefits-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
        gap: 20px; 
        border-radius: 0;
    }

    /*Testimonial Section*/
    .testimonial-container {
        width: 100%;
        padding: 40px 20px;
        border-radius: 0;
    }

    .testimonial-quote {
        font-size: 24px; /* Smaller font size for mobile */
        width: 100%; /* Full width for better readability */
        margin: 0 0 20px 0; /* Reduced margin for mobile */
    }

    /*Differentiator Section*/
    .differentiator-content {
        width: 100%;
        padding: 40px 20px;
    }

    .differentiator-columns-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .differentiator-column {
        width: 100%; /* Full width for better readability */
        border-right: none; /* Remove borders for mobile */
        border-left: none; /* Remove borders for mobile */
        padding: 20px 0; /* Add some padding for spacing */
    }

    /*How It Works Section*/
    .how-it-works-content {
        width: 100%;
        padding: 40px 20px;
    }

    .steps-container {
        flex-direction: column; /* Stack steps vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .step-image {
        width: 100%; /* Make images responsive */
        height: auto; /* Adjust height for responsiveness */
    }
    h2.section-title {
        font-size: 32px; /* Smaller font size for mobile */
    }
    /*FAQ Section*/
    #card {
        max-width: 100%; /* Full width for better readability */
        padding: 1rem;
    }

    /*Final CTA*/
    .final-cta-section {
        padding: 20px 20px;
        height: fit-content;
    }

    .final-cta-content h2{
        font-size: 32px; /* Smaller font size for mobile */
    }
    p.final-cta-subheading {
        font-size: 16px; /* Smaller font size for mobile */
        max-width: 100%; /* Full width for better readability */
    }

    /*Footer*/
    .footer-content {
        width: 100%;
        padding: 40px 20px;
    }
}

/* Medium Phone */
@media (min-width:320px) and (max-width: 375px) {
    /*General Styles*/
    h1{
        font-size: 32px;;
    }
    h2 {
        font-size: 32px; /* Adjusted for smaller screens */
    }

    /*Header*/
    .main-navigation {
        padding: 20px ;
        height: 100px;
    }

    .logo img {
        height: 15px;
        width: auto;
    }

    a.cta-button .mobile-text {
        width: fit-content;
        height: fit-content;
        font-size: 16px;
    }

    a.cta-button .desktop-text {
        display: none;
    }
    
    /*Hero Section*/
    .hero {
        width: 100%;
        padding: 100px 20px ;
    }

    .hero-content {
        width: 100%;
        height: 100%;
        padding: 0px 20px;
    }

    h1 {
        font-size: 30px;
    }

    p.subheadline {
        font-size: 16px; /* Adjusted for smaller screens */
        line-height: 1.4; /* Adjusted for readability */
        text-align: center; /* Centered for better alignment */
    }

    .buttons-wrapper {
        flex-direction: column;
        width: 100%;
    }

    a.cta-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px
    }

    a.how-it-works-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px;
    }

    .hero-shot {
        width: 100%;
        height: auto; /* Adjust height for responsiveness */
    }

    .logo img {
        height: 30px; /* Smaller logo on mobile */
    }

    /*Competitor Row*/
    .competitor-row-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        justify-items: center;
        height: fit-content;
    }

    .competitor-row-content svg {
        height: 100px;
        width: 100%;    
    }

    /*Pain Points*/
    .pain-points-bar-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 0;
        gap: 20px; /* Add some space between items */
        border-radius: 0;
    }

    /*Solution Section*/
    .solution-section-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
    }

    /*Core Benefits*/
    .core-benefits-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
        gap: 20px;
        border-radius: 0;
    }

    /*Testimonial Section*/
    .testimonial-container {
        width: 100%;
        padding: 40px 20px;
        border-radius: 0;
    }

    .testimonial-quote {
        font-size: 24px; /* Smaller font size for mobile */
        width: 100%; /* Full width for better readability */
        margin: 0 0 20px 0; /* Reduced margin for mobile */
    }

    /*Differentiator Section*/
    .differentiator-content {
        width: 100%;
        padding: 40px 20px;
    }

    .differentiator-columns-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .differentiator-column {
        width: 100%; /* Full width for better readability */
        border-right: none; /* Remove borders for mobile */
        border-left: none; /* Remove borders for mobile */
        padding: 20px 0; /* Add some padding for spacing */
    }

    /*How It Works Section*/
    .how-it-works-content {
        width: 100%;
        padding: 40px 20px;
    }

    .steps-container {
        flex-direction: column; /* Stack steps vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .step-image {
        width: 100%; /* Make images responsive */
        height: auto; /* Adjust height for responsiveness */
    }
    h2.section-title {
        font-size: 32px; /* Smaller font size for mobile */
    }
    /*FAQ Section*/
    #card {
        max-width: 100%; /* Full width for better readability */
        padding: 1rem;
    }

    /*Final CTA*/
    .final-cta-section {
        padding: 20px 20px;
        height: fit-content;
    }

    .final-cta-content h2{
        font-size: 32px; /* Smaller font size for mobile */
    }
    p.final-cta-subheading {
        font-size: 16px; /* Smaller font size for mobile */
        max-width: 100%; /* Full width for better readability */
    }

    /*Footer*/
    .footer-content {
        width: 100%;
        padding: 40px 20px;
    }
}

/* Large Phone */
@media (min-width:375px) and (max-width: 768px) {
    /*General Styles*/
    h1{
        font-size: 32px;;
    }
    h2 {
        font-size: 32px; /* Adjusted for smaller screens */
    }

    /*Header*/
    .main-navigation {
        padding: 20px ;
        height: 100px;
    }

    .logo img {
        height: 15px;
        width: auto;
    }

    a.cta-button .mobile-text {
        width: fit-content;
        height: fit-content;
        font-size: 16px;
    }

    a.cta-button .desktop-text {
        display: none;
    }
    
    /*Hero Section*/
    .hero {
        width: 100%;
        padding: 100px 20px ;
    }

    .hero-content {
        width: 100%;
        height: 100%;
        padding: 0px 20px;
    }

    h1 {
        font-size: 30px;
    }

    p.subheadline {
        font-size: 16px; /* Adjusted for smaller screens */
        line-height: 1.4; /* Adjusted for readability */
        text-align: center; /* Centered for better alignment */
    }

    .buttons-wrapper {
        flex-direction: column;
        width: 100%;
    }

    a.cta-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px
    }

    a.how-it-works-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px;
    }

    .hero-shot {
        width: 100%;
        height: auto; /* Adjust height for responsiveness */
    }

    .logo img {
        height: 30px; /* Smaller logo on mobile */
    }

    /*Competitor Row*/
    .competitor-row-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        justify-items: center;
        height: fit-content;
    }

    .competitor-row-content svg {
        height: 100px;
        width: 100%;    
    }

    /*Pain Points*/
    .pain-points-bar-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 0;
        gap: 20px; /* Add some space between items */
        border-radius: 0;
    }

    /*Solution Section*/
    .solution-section-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
    }

    /*Core Benefits*/
    .core-benefits-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
        gap: 20px; 
        border-radius: 0;
    }

    /*Testimonial Section*/
    .testimonial-container {
        width: 100%;
        padding: 40px 20px;
        border-radius: 0;
    }

    .testimonial-quote {
        font-size: 24px; /* Smaller font size for mobile */
        width: 100%; /* Full width for better readability */
        margin: 0 0 20px 0; /* Reduced margin for mobile */
    }

    /*Differentiator Section*/
    .differentiator-content {
        width: 100%;
        padding: 40px 20px;
    }

    .differentiator-columns-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .differentiator-column {
        width: 100%; /* Full width for better readability */
        border-right: none; /* Remove borders for mobile */
        border-left: none; /* Remove borders for mobile */
        padding: 20px 0; /* Add some padding for spacing */
    }

    /*How It Works Section*/
    .how-it-works-content {
        width: 100%;
        padding: 40px 20px;
    }

    .steps-container {
        flex-direction: column; /* Stack steps vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .step-image {
        width: 100%; /* Make images responsive */
        height: auto; /* Adjust height for responsiveness */
    }
    h2.section-title {
        font-size: 32px; /* Smaller font size for mobile */
    }
    /*FAQ Section*/
    #card {
        max-width: 100%; /* Full width for better readability */
        padding: 1rem;
    }

    /*Final CTA*/
    .final-cta-section {
        padding: 20px 20px;
        height: fit-content;
    }

    .final-cta-content h2{
        font-size: 32px; /* Smaller font size for mobile */
    }
    p.final-cta-subheading {
        font-size: 16px; /* Smaller font size for mobile */
        max-width: 100%; /* Full width for better readability */
    }

    /*Footer*/
    .footer-content {
        width: 100%;
        padding: 40px 20px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    /*General Styles*/
    h1{
        font-size: 32px;;
    }
    h2 {
        font-size: 32px; /* Adjusted for smaller screens */
    }

    /*Header*/
    .main-navigation {
        padding: 20px ;
        height: 100px;
    }

    .logo img {
        height: 15px;
        width: auto;
    }

    a.cta-button .mobile-text {
        width: fit-content;
        height: fit-content;
        font-size: 16px;
    }

    a.cta-button .desktop-text {
        display: none;
    }
    
    /*Hero Section*/
    .hero {
        width: 100%;
        padding: 100px 20px ;
    }

    .hero-content {
        width: 100%;
        height: 100%;
        padding: 0px 20px;
    }

    h1 {
        font-size: 30px;
    }

    p.subheadline {
        font-size: 16px; /* Adjusted for smaller screens */
        line-height: 1.4; /* Adjusted for readability */
        text-align: center; /* Centered for better alignment */
    }

    .buttons-wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    a.cta-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px
    }

    a.how-it-works-button {
        width: fit-content;
        height: fit-content;
        font-size: 10px;
    }

    .hero-shot {
        width: 100%;
        height: auto; /* Adjust height for responsiveness */
    }

    .logo img {
        height: 30px; /* Smaller logo on mobile */
    }

    /*Competitor Row*/
    .competitor-row-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        justify-items: center;
        height: fit-content;
    }

    .competitor-row-content svg {
        height: 100px;
        width: 100%;    
    }

    /*Pain Points*/
    .pain-points-bar-wrapper {
        flex-direction: row; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 0;
        gap: 20px; /* Add some space between items */
        border-radius: 0;
    }

    /*Solution Section*/
    .solution-section-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
    }

    /*Core Benefits*/
    .core-benefits-content {
        flex-direction: row; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
        padding: 40px 20px;
        gap: 20px;
        border-radius: 0;
    }

    /*Testimonial Section*/
    .testimonial-container {
        width: 100%;
        padding: 40px 20px;
        border-radius: 0;
    }

    .testimonial-quote {
        font-size: 24px; /* Smaller font size for mobile */
        width: 100%; /* Full width for better readability */
        margin: 0 0 20px 0; /* Reduced margin for mobile */
    }

    /*Differentiator Section*/
    .differentiator-content {
        width: 100%;
        padding: 40px 20px;
    }

    .differentiator-columns-wrapper {
        flex-direction: row; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
        width: 100%;
    }

    .differentiator-column {
        width: 100%; /* Full width for better readability */
        border-right: none; /* Remove borders for mobile */
        border-left: none; /* Remove borders for mobile */
        padding: 20px 0; /* Add some padding for spacing */
    }

    /*How It Works Section*/
    .how-it-works-content {
        width: 100%;
        padding: 40px 20px;
    }

    h2.section-title {
        font-size: 32px; /* Smaller font size for mobile */
    }

    /*FAQ Section*/
    #card {
        max-width: 100%; /* Full width for better readability */
        padding: 1rem;
    }

    /*Final CTA*/
    .final-cta-section {
        padding: 20px 20px;
        height: fit-content;
    }

    .final-cta-content h2{
        font-size: 32px; /* Smaller font size for mobile */
    }
    p.final-cta-subheading {
        font-size: 16px; /* Smaller font size for mobile */
        max-width: 100%; /* Full width for better readability */
    }

    /*Footer*/
    .footer-content {
        width: 100%;
        padding: 40px 20px;
    }
}

