*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

:root {
    --primary-color: #25c7b7;
    --secondary-color: #1f6652;
    --accent-color: #ffc857;
    --background-light: #d0f0ee;
    --background-body: #f1fafb;
    --text-dark: #333;
    --text-light: #dbd7d2;
    --border-radius: 0.5rem;
    --box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    --box-shadow-hover: 0 4px 12px rgba(0,0,0,0.2);
    --font-size-base: 18px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
}


@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

@media (max-width: 600px) {
    #header {
        flex-direction: column;
        align-items: flex-start;
    }

    #nav-bar a {
        margin: 0.5rem 0;
        font-size: 1rem;
    }

    #form {
        width: 90%;
        margin-top: 8rem;
        margin-left: auto;
        margin-right: auto;
        padding: 1rem;
    }

    #features {
        padding: 1rem;
    }

    .feature {
        width: 100%;
        max-width: none;
    }

    #video {
        min-height: 200px;
    }

    .price-tiers {
        flex-direction: column;
        gap: 1rem;
    }

    .price-tier {
        width: 100%;
        max-width: none;
    }
}

body {
    background-color: var(--background-body);
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    font-size: var(--font-size-base);
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(
        180deg,
        var(--secondary-color) 0%,
        var(--primary-color) 30%,
        #5f9ea0 55%,
        #3aa693 80%,
        var(--secondary-color) 100%
    );
    background-attachment: fixed;
    background-size: cover;
    transition: color 0.3s ease;
    position: fixed;
    top: 0;
    z-index: 1000;
}

#nav-bar a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    margin-right: 2rem;
    font-weight: bold;
}

#nav-bar a:hover {
    color: var(--accent-color);
}

#header-img {
    width: 8rem;
    height: auto;
    max-width: 100%;
}

#form {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: 6px double #ccc;
}

#form h1 {
    font-size: var(--font-size-h1);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

#form h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
    color: #555;
}

#email {
    padding: 0.3rem;
    border-radius: 20px;
    border: 2px solid #ccc;
    font-size: 1rem;
    width: 20rem;
    max-width: 100%;
    margin-bottom: 1rem;
}

#email:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(37, 199, 183, 0.5);
}

#submit {
    padding: 0.4rem 0.7rem;
    border-radius: 20px;
    border: none;
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1rem;
}

#submit:hover {
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
}

#features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

#features h2 {
    font-size: var(--font-size-h2);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.feature {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    width: 100%;
    max-width: 700px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#features:hover .feature {
    box-shadow: var(--box-shadow-hover);
}

.feature .icon {
    width: 6rem;
    height: auto;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

#how-it-works {
    padding: 2rem;
    text-align: center;
}

#how-it-works h2 {
    font-size: var(--font-size-h2);
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

#how-it-works p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

#video {
    width: 100%;
    max-width: 800px;
    height: auto;
    min-height: 300px;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

#pricing {
    padding: 1rem;
    text-align: center;
}

#pricing h2 {
    font-size: var(--font-size-h2);
    font-weight: bold;
    margin: 1rem 0 1rem 0;
    color: var(--text-dark);
}

#tier-info {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.price-tiers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.5rem;
}

.price-tier {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    width: 260px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-tier h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    border-bottom: #ccc 2px solid;
    padding-bottom: 0.5rem;
    margin: 0 0 1rem 0;
}

.price-tier h4 {
    font-size: var(--font-size-h4);
    color: #555;
}

.price-tier p {
    margin: .35rem 0;
}

.price-tier .icon {
    width: 4rem;
    height: auto;
    margin: 1rem 0;
}

.select {
    margin-top: auto;
    padding: 0.4rem 0.7rem;
    border-radius: 20px;
    border: none;
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.price-tier:hover {
    box-shadow: var(--box-shadow-hover);
}
