/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #103050;
    background-color: #f0f0f0;
    background-image: url('background.svg');
    background-position: center 12rem;
    background-repeat: no-repeat;
    background-size: calc(min(900px, 100vw - 3rem) * 1.15) auto;
}

/* Container */
header, main, footer {
    max-width: 900px;
    margin: 1.5rem max(16px, calc((100vw - 900px) / 2));
    padding: 2rem 1rem;
    background: #f7f7f770;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    text-align: center;
    background: #103050 !important;
}

header h1 {
    font-size: 3rem;
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.25rem;
    color: #f0f0f0;
    font-weight: 300;
}

/* Main content */
main {
}

section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: #103050;
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #103050;
    padding-bottom: 0.5rem;
}

h3 {
    color: #103050;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #103050;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero h2 {
    border: none;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    color: #103050;
}

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

.feature {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #103050;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature h3 {
    color: #103050;
    margin-bottom: 0.75rem;
}

.feature p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
}

footer p {
    color: #103050;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    color: #103050;
    text-decoration: none;
    border-bottom: 1px solid #103050;
}

footer a:hover {
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    header, main, footer {
        padding: 1.5rem 1rem;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
