:root {
    --primary-color: #0e7490;
    --primary-color-dark: #164e63;
    --secondary-color: #f8fafc;
    --text-color: #111827;
    --text-color-light: #4b5563;
    --white-color: #ffffff;
    --border-color: #e5e7eb;
    --font-family: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

p {
    color: var(--text-color-light);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--primary-color);
}

.cta-button.primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: var(--white-color);
    color: var(--primary-color-dark);
    border: 1px solid var(--border-color);
}

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

.site-header {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color-light);
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.hero-section {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 1.5rem 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.features-section {
    padding: 6rem 0;
}

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

.feature-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.feature-card .icon-bg {
    font-size: 2rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.use-cases-section {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.use-case-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.use-case-item.reverse {
    flex-direction: row-reverse;
}

.use-case-text {
    flex: 1;
}

.use-case-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.use-case-image {
    flex: 1;
}

.use-case-image img {
    width: 100%;
    border-radius: 12px;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 6rem 0;
    background-color: var(--white-color);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.pricing-toggle .yearly-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-badge {
    background-color: #0e7490;
    /* Much darker green for WCAG AA compliance */
    color: #ffffff;
    /* White text for better contrast */
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transition: .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:not(:checked)+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.pricing-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--white-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2.5rem 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    /* Make it stand out */
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 35px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg) translate(25%, -60%);
    transform-origin: center;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.price-container {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    /* Heavier font weight */
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.25rem;
    /* Reduced margin */
}

.price-period {
    color: var(--text-color-light);
    font-weight: 600;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    color: var(--text-color-light);
}

.pricing-card ul li {
    margin-bottom: 1rem;
}

.full-width {
    display: block;
    width: 100%;
    margin-top: auto;
}

.final-cta {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.final-cta h2 {
    color: var(--white-color);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* --- Accessibility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Footer --- */
.site-footer-bottom {
    background-color: #111827;
    color: #ddd;
    padding: 1rem 0;
}

.site-footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer-bottom p {
    color: #ddd;

}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--white-color);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text .subtitle {
        margin: 1.5rem auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .pricing-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .use-case-item,
    .use-case-item.reverse {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid-four {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
    }
}