:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f1f5f9;
    --text-color: #0f172a;
    --card-bg: #ffffff;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

header {
    background-color: var(--card-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

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

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

main {
    padding: 40px 20px;
    min-height: calc(100vh - 140px);
}

.hero {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.content-block {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.content-block h1, .content-block h2 {
    color: var(--primary);
    margin-bottom: 25px;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

footer {
    background-color: var(--card-bg);
    border-top: 1px solid #e2e8f0;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}