@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --background-color: #1a202e;    /* Deep navy night */
    --primary-color: #3a4f6f;       /* Rich medium blue */
    --secondary-color: #2d3f5c;     /* Deeper blue */
    --accent-color: #5b89b3;        /* Glowing blue highlight */
    --text-color: #ffffff;          /* Pure white */
    --heading-color: #c5d5e6;       /* Soft sky blue */

    /* UI Specific */
    --form-background: #222837;     /* Slightly lighter background */
    --text-on-primary: #ffffff;     /* White text */
    --button-text: #ffffff;         /* White text */

    /* Neutrals */
    --neutral-light: #d8e1ea;      /* Bright blue-white */
    --neutral-medium: #8494a7;     /* Muted blue-gray */
    --neutral-dark: #2d364a;       /* Deep blue shadow */
}

/* Existing root variables preserved */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;

    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--background-color);
    padding: 1rem 2rem;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.5);
}

.nav-content {
    margin: 0;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--heading-color);
}


main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

h1 {
    font-size: 3.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: var(--neutral-light);
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--button-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.hero a {
    display: inline-block;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    min-width: 70%;
}

.hero a:hover {
    background-color: var(--secondary-color);
    transition: background-color 0.2s ease;
}

.features {
    padding: 4rem 0;
}

h2 {
    text-align: center;
    color: var(--heading-color);
    margin-bottom: 3rem;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    background-color: var(--form-background);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 500px;
    min-width: 280px;
    box-sizing: border-box;
}

.feature-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--neutral-medium);
}

footer {
    background-color: var(--secondary-color);
    color: var(--neutral-medium);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-color);
    transition: color 0.2s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

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

    .logo-placeholder {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

/* Navigation improvements */
.nav-content {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

/* Pricing preview section */
.pricing-preview {
    background-color: var(--form-background);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--button-text) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.learn-more-link:hover {
    background-color: var(--primary-color);
    color: var(--button-text) !important;
}

/* About page specific styles */
.content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content h2 {
    color: var(--heading-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.content h3 {
    color: var(--heading-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.feature-detail {
    background-color: var(--form-background);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.feature-detail h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.feature-detail p {
    color: var(--neutral-light);
    margin-bottom: 0;
}

.pricing-tier {
    background-color: var(--form-background);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.pricing-tier h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.pricing-tier ul {
    list-style-type: none;
    padding-left: 0;
}

.pricing-tier li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-dark);
}

.pricing-tier li:last-child {
    border-bottom: none;
}

.pricing-tier li::before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.content li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 0;
}

.cta-section {
    background-color: var(--primary-color);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.cta-section h3 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--button-text) !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--button-text) !important;
}

.cta-subtitle {
    color: var(--neutral-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.open-source-highlight {
    text-align: center;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .pricing-preview {
        padding: 2rem 1rem;
    }

    .feature-detail, .pricing-tier, .cta-section {
        padding: 1.5rem;
    }
}