:root {
    --primary-color: #272d3d;
    --secondary-color: #4390f9;

    --text-primary: #ffffff;
    --text-secondary: #ffffff;

    --text: #000000;
    --text-accent: #555;
    --text-primary-accent: #ccc;


    --background: #f1f1f1;
    --background-card: #ffffff;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

    background-color: var(--background);
    color: var(--text);

    scroll-behavior: smooth;
}

/* UTILITIES */
.button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    text-decoration: none;
}
.linkbutton:after {
    content: '\f08e';
    font-family: 'FontAwesome', serif;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    margin-left: 0.25rem;
    color: inherit;
}
.primary {
    background: var(--primary-color);
    color: var(--text-primary);
}
.secondary {
    background: var(--secondary-color);
    color: var(--text-secondary);
}


/* Hero Section */
.hero {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 20px;

    position: relative;
    margin-bottom: 4rem;
}

.hero:after {
    content: "";
    position: absolute;
    bottom: calc(-4rem + 1px); /* Adjust this to move the triangle */
    left: 0;
    width: 100%;
    height: 4rem; /* Height of the triangle */
    background-color: inherit;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero .button.secondary {
    font-weight: bold;
}

/* Features Section */
.features {
    text-align: center;
    padding: 2rem 2rem;
}

.features-container {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.features .section-title {
    margin-bottom: 40px;
}
.features h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-item {
    background-color: var(--background-card);
    padding: 2rem;
    border-radius: 0.5rem;

    flex-grow: 1;
    text-align: center;
}

.feature-item i {
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-accent);
}

@media (max-width: 767px) {
    .features-container {
        flex-direction: column;
    }
    .features {
        padding: 2rem 1rem;
    }
}

/* How it works section */
.how-it-works {
    text-align: center;
    padding: 2rem 2rem;
}
.how-it-works .section-title {
    margin-bottom: 40px;
}
.how-it-works h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--text-primary);
    text-align: center;
    padding: 2rem 2rem;

    position: relative;
    margin-top: 4rem;
}
.cta::before {
    content: "";
    position: absolute;
    top: calc(-4rem + 1px); /* Adjust this to move the triangle */
    left: 0;
    width: 100%;
    height: 4rem; /* Height of the triangle */
    background-color: inherit;
    clip-path: polygon(100% 100%, 0 0, 0 100%);
}


.cta h2 {
    font-size: 36px;
}

.cta .button {
    font-weight: bold;
}

.cta p {
    margin-top: 1rem;
    color: var(--text-primary-accent);
}

.cta p a {
    color: inherit;
}

/* Pricing Section */
.pricing {
    text-align: center;
    padding: 4rem 2rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--background-card);
    color: var(--text);

    padding: 2rem;
    border-radius: 1rem;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card ul li {
    margin: 0.5rem 0;
}