:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-bg: #f3f4f6;
    --color-text: #1f2933;
    --color-muted: #6b7280;
    --radius-lg: 16px;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: #ffffff;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    border-bottom: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    color: #111827;
    letter-spacing: 0.03em;
}

.logo span {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--color-muted);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: 0.2s ease;
}

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

.main-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.btn-small {
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
}

/* Main */

.site-main {
    padding-bottom: 40px;
}

.hero {
    background: radial-gradient(circle at top left, #e0edff, #ffffff);
    padding: 40px 0 48px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-text h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text p {
    color: var(--color-muted);
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.card-stats {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 20px 22px;
    min-width: 280px;
}

.card-stats h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.card-stats ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-stats li {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    margin-right: 4px;
}

/* Sections */

.section {
    padding: 40px 0;
}

.section-alt {
    background: var(--color-bg);
}

.section h2 {
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-muted);
    max-width: 560px;
    margin: 0 auto 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: flex-start;
}

/* Cards */

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    font-size: 14px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
}

.cta-box {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 18px;
    padding: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #e5ecff;
}

.cta-box h2 {
    color: #ffffff;
    margin: 0 0 8px;
    text-align: left;
}

.cta-box p {
    margin: 0;
    max-width: 520px;
}

/* Page header */

.page-header {
    padding: 32px 0 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.page-header h1 {
    margin: 0 0 8px;
}

.page-header p {
    margin: 0;
    max-width: 640px;
    color: var(--color-muted);
}

/* Lists */

.list-check {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.list-check li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-size: 13px;
}

/* Contact */

.contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--color-muted);
}

.contact-list li {
    margin-bottom: 8px;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 12px;
    font-size: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
    transition: 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px #bfdbfe;
}

.form-note {
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 8px;
}

/* Buttons */

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid #bfdbfe;
}

.btn-outline:hover {
    background: #eff6ff;
}

/* Footer */

.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 18px 0;
    background: #f9fafb;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 13px;
    color: var(--color-muted);
}

.footer-meta {
    font-size: 12px;
}

/* Responsive */

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

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

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

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        position: absolute;
        top: 64px;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 12px 16px;
        border-bottom-left-radius: 16px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
        min-width: 190px;
        display: none;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}
