/* EASEO CMS — Project Website
   Colors and typography from easeo.nl */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

:root {
    --navy: #0F172A;
    --navy-light: #1E293B;
    --navy-lighter: #334155;
    --orange: #EA580C;
    --orange-hover: #C2410C;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --slate: #334155;
    --slate-light: #64748B;
    --slate-lighter: #94A3B8;
    --slate-lightest: #E2E8F0;
    --green: #22C55E;
    --green-dim: #14532D;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'League Spartan', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

a { color: var(--orange); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--orange-hover); }

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

/* ── Navigation ── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navy-lighter);
    z-index: 100;
    padding: 16px 0;
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'League Spartan', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
}
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
    color: var(--slate-lighter);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--navy-light);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.lang-switch a {
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--slate-lighter);
}
.lang-switch a.active {
    background: var(--navy-lighter);
    color: var(--white);
}

/* ── Hero ── */
.hero {
    padding: 160px 0 100px;
    text-align: center;
}
.badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid var(--green-dim);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal;
    color: var(--orange);
}
.hero p {
    font-size: 18px;
    color: var(--slate-lighter);
    max-width: 580px;
    margin: 0 auto 36px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'League Spartan', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.15s;
    letter-spacing: 0.2px;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); color: var(--white); }
.btn-secondary {
    background: var(--navy-light);
    color: var(--white);
    border: 1px solid var(--navy-lighter);
}
.btn-secondary:hover { border-color: var(--slate-light); color: var(--white); }

/* ── Install snippet ── */
.install {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}
.install code {
    display: block;
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 8px;
    padding: 16px 24px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: var(--slate-lighter);
}
.install code .prompt { color: var(--orange); }

/* ── Features ── */
.features { padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feature {
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.2s;
}
.feature:hover { border-color: var(--orange); }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.feature h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature p {
    font-size: 14px;
    color: var(--slate-lighter);
    line-height: 1.7;
}

/* ── Comparison ── */
.comparison { padding: 60px 0 80px; }
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--navy-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--navy-lighter);
}
.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--navy-lighter);
}
.comparison-table th {
    background: var(--navy);
    color: var(--slate-light);
    font-family: 'League Spartan', sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 500; }
.yes { color: var(--green); }
.no { color: var(--slate-light); }

/* ── Sovereignty ── */
.sovereignty {
    padding: 80px 0;
    border-top: 1px solid var(--navy-lighter);
}
.sovereignty h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}
.sovereignty .subtitle {
    text-align: center;
    color: var(--slate-lighter);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 48px;
}
.sovereignty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.sov-card {
    text-align: center;
    padding: 24px;
}
.sov-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
}
.sov-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.sov-card p {
    font-size: 13px;
    color: var(--slate-lighter);
}

/* ── Architecture ── */
.architecture { padding: 60px 0 80px; }
.architecture pre {
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: var(--slate-lighter);
    line-height: 1.8;
}

/* ── Docs pages ── */
.docs-content {
    padding: 120px 0 60px;
}
.docs-content h1 {
    font-size: 36px;
    margin-bottom: 12px;
}
.docs-content h2 {
    font-size: 24px;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--navy-lighter);
}
.docs-content h3 {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 12px;
}
.docs-content p {
    color: var(--slate-lightest);
    margin-bottom: 16px;
}
.docs-content ul, .docs-content ol {
    color: var(--slate-lightest);
    margin-bottom: 16px;
    padding-left: 24px;
}
.docs-content li { margin-bottom: 6px; }
.docs-content code {
    background: var(--navy-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--orange);
}
.docs-content pre {
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}
.docs-content pre code {
    background: none;
    padding: 0;
    color: var(--slate-lightest);
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--navy-lighter);
    padding: 32px 0;
    text-align: center;
}
footer p {
    color: var(--slate-light);
    font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .hero { padding: 120px 0 60px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .comparison-table { font-size: 13px; }
    .comparison-table th, .comparison-table td { padding: 10px 12px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 13px; }
    .sovereignty-grid { grid-template-columns: 1fr 1fr; }
}
