.container {
    margin-top: 2rem;
}

.main-heading {
    font-size: 3rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.main-subheading {
    max-width: 50%;
    margin: 1rem auto 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.demo-button-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
    position: relative;
    bottom: 1px;
}

.feature-name {
    text-align: left;
}

/* Contact Section */

.contact-section {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background-color: white;
    border-radius: 16px;
    outline: none;
    font-size: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 2.75rem 1rem 1rem;
    resize: none;
}

.form-input:hover,
.form-input:focus {
    border-color: rgba(0, 0, 0, 0.4);
}

.form-input.error-border:hover,
.form-input.error-border:focus {
    border-color: red;
}

.form-response-message {
    color: green;
    position: absolute;
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
    right: 215px;
}

.customSpinner {
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-right: 5px;
    position: relative;
    top: 1px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.form-label {
    position: absolute;
    top: 0.75rem;
    z-index: 20;
    left: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
}

.form-button-wrapper {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-top: 0.5rem;
}

.section {
    margin-top: 4rem;
    scroll-margin-top: 80px;
}

.pricing-plans {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3.6rem;
}

.pricing-plan {
    background-color: rgba(250, 250, 250, 1);
    border-radius: 1.25rem;
    padding: 2.1rem;
    width: 31%;
    text-align: left;
}

.section-header {
    font-size: 2.6rem;
    margin-bottom: 0.3rem;
}

.pricing-plan-heading {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pricing-plans-description {
    margin-bottom: 1.4rem;
}

.pricing-plan-price {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-plan-price-wrapper {
    margin-bottom: 1.1rem;
}

.pricing-plan-duration {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.4);
}

.pricing-plan-features {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-plan-checkmark {
    width: 10px;
}

.pricing-plan-feature {
    position: relative;
    padding-left: 2em; /* space for icon */
}

.pricing-plan-feature::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0em;
    width: 1.2em;
    height: 1.2em;
    background: url("/assets/img/check.svg") no-repeat center;
    background-size: contain;
}

.toggle {
    --pad: 8px; /* internal padding around text */
    --radius: 9999px;
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 0; /* no gap; the highlight spans under a label */
    position: relative;
    border: none;
    border-radius: var(--radius);
    padding: 4px; /* border padding to create a nice pill */
    user-select: none;
    cursor: pointer;
    background: var(--primary-color);
    width: 150px;
}

.toggle input {
    display: none;
}

.toggle .option {
    position: relative;
    z-index: 1; /* above the highlight */
    padding: 6px var(--pad);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 14px;
}

.toggle .highlight {
    position: absolute;
    z-index: 0; /* behind the labels */
    top: 4px; /* match container padding */
    height: calc(100% - 8px);
    width: 0; /* JS will set this */
    border-radius: var(--radius);
    background: white;
    transition: transform 200ms ease, width 200ms ease;
}

/* Text color over highlight vs. base */
.toggle[data-state="left"] .option--left,
.toggle[data-state="right"] .option--right {
    color: var(--primary-color);
    font-weight: 400;
}
.toggle[data-state="left"] .option--right,
.toggle[data-state="right"] .option--left {
    color: white;
    font-weight: 400;
}

/* Focus ring for accessibility */
.toggle:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

/* Pricing table */

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table-td {
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table-tr:last-child > .pricing-table-td {
    border-bottom: none;
}

.pricing-table-th {
    padding: 8px;
    font-weight: 600;
}

#feature-corner {
    vertical-align: baseline;
    font-size: 18px;
    padding: 1rem 1.25rem;
    text-align: left;
}

.pricing-table-wrapper,
.contact-wrapper {
    background-color: rgba(250, 250, 250, 1);
    border-radius: 1.25rem;
    padding: 1.2rem 2.1rem;
}

.contact-wrapper {
    padding: 2.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-btn {
    margin-right: 2.1rem;
    width: 150px;
}

.error-message {
    text-align: left;
    color: red;
    font-size: 12px;
    padding-left: 1.2rem;
}

.error-border {
    border: 1px solid red;
}

@media (min-width: 1024px) {
    .hide-on-mobile {
        display: list-item;
    }
}
