:root {
    --primary-color: #57b8e4;
    --secondary-color: #75d1ed;
    --background-dark: #23303D;
    --background-lighter: #2C3E50;
    --text-color: #ffffff;
    --text-muted: #cfcfcf;
    --background-gradient: linear-gradient(135deg, #2A2533 0%, #3A3543 100%);
    --logo-text-color: #F0F8FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100dvh;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-dark) !important;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--background-dark);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--background-lighter) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    color: var(--logo-text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: transform 0.3s ease-in-out;
}

/* General anchor tag styling */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

#hero {
    padding: 2rem 5%;
    background: var(--background-dark) !important;
    flex: .5;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--logo-text-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    color: var(--text-color);
    text-decoration: none;
}

.hero-image {
    flex: 1;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.hero-image svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: 0;
    object-fit: contain;
    transform: scale(0.95);
}

@media (max-width: 1024px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5% 1rem;
        gap: 0.5rem;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.5rem;
        padding-top:30px;
        padding-bottom: 20px;
        flex-grow: unset;
    }

    .hero-description {
        margin-bottom: 1rem;
    }

    .hero-cta {
        margin: 0 auto 0.5rem;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    #hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }

    .hero-image {
        max-width: 500px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 1rem 0.5rem 0.5rem;
        gap: 0;
        overflow-x: hidden;
        min-height: auto;
        flex: 0 1 auto;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.5rem;
        padding-top: 30px;
        padding-bottom: 20px;
        flex-grow: unset;
    }

    main {
        flex: 1 0 auto;
    }

    #hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .hero-image {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        width: 95vw;
    }

    .hero-image svg {
        width: 100%;
        max-width: 95vw;
    }

    nav {
        padding: 1rem 5%;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-lighter);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 100;
    }

    .nav-menu.active {
        right: 0;
    }

    nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 1rem 0.5rem 0.5rem;
        overflow-x: hidden;
    }

    #hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .hero-image {
        width: 90vw;
    }

    .hero-image svg {
        width: 100%;
        max-width: 90vw;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

section {
    padding: 4rem 5%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 2rem;
    background-color: var(--background-lighter) !important;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(44, 202, 174, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    padding: 2rem;
    background-color: var(--background-lighter) !important;
    border: 1px solid rgba(44, 202, 174, 0.1);
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 1rem 0;
    color: var(--text-muted);
}

.pricing-card button {
    background-color: var(--primary-color);
    color: var(--background-dark);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.pricing-card button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

footer {
    flex-shrink: 0;
    padding: 0.75rem 5%;
    background-color: var(--background-lighter) !important;
    text-align: center;
}

footer p {
    position: relative;
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    footer {
        padding: 0.75rem 5%;
    }
}
