:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--slate-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--slate-200);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--slate-900);
}

.logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--slate-900);
    border-radius: 1rem;
}

.logo-text {
    line-height: 1.25;
}

.logo-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--slate-600);
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.nav-link {
    color: var(--slate-700);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--slate-900);
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    margin-right: 1rem;
}

.lang-link {
    color: var(--slate-500);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.15s;
}

.lang-link:hover,
.lang-link.active {
    color: var(--slate-900);
    background-color: var(--slate-100);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, background-color 0.15s;
}

.btn-primary {
    background-color: var(--slate-900);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    opacity: 0.95;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background-color: var(--slate-50);
}

.btn-large {
    padding: 0.75rem 1.25rem;
}

.btn-white {
    background-color: var(--white);
    color: var(--slate-900);
}

.btn-white:hover {
    opacity: 0.95;
}

/* Sections */
.section {
    border-bottom: 1px solid var(--slate-200);
}

.section-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--slate-700);
    max-width: 48rem;
}

/* Hero */
.hero {
    border-bottom: 1px solid var(--slate-200);
}

.hero-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3.5rem 1rem;
    display: grid;
    gap: 2.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--slate-200);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: var(--slate-700);
}

.hero-title {
    margin-top: 1rem;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--slate-700);
    max-width: 36rem;
}

.hero-cta {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-features {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.feature-card {
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1rem;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.feature-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--slate-700);
}

/* Diagram Box */
.diagram-box {
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    background-color: var(--slate-50);
    padding: 1.5rem;
}

.diagram-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.diagram-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.diagram-container {
    margin-top: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1rem;
}

.diagram-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-600);
}

.diagram-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--slate-600);
}

/* Cards */
.card {
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.card-grey {
    background-color: var(--slate-50);
    border: none;
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.card-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.card-list {
    margin-top: 0.75rem;
    list-style: none;
}

.card-list li {
    font-size: 0.875rem;
    color: var(--slate-700);
    padding: 0.25rem 0;
}

.card-list li::before {
    content: "• ";
}

/* Grid layouts */
.grid-2 {
    display: grid;
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    gap: 1rem;
}

/* Step cards */
.step-card {
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-600);
}

.step-title {
    margin-top: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.step-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.step-deliverable {
    margin-top: 1rem;
    background-color: var(--slate-50);
    border-radius: 1rem;
    padding: 1rem;
    font-size: 0.75rem;
    color: var(--slate-700);
}

/* Section header with CTA */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 1rem;
}

.cta-box {
    max-width: 72rem;
    margin: 0 auto;
    background-color: var(--slate-900);
    border-radius: 1.5rem;
    padding: 2rem;
    color: var(--white);
}

.cta-grid {
    display: grid;
    gap: 2rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-subtitle {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--slate-600);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--slate-900);
}

/* SVG Diagrams */
.diagram-svg {
    width: 100%;
    margin-top: 0.5rem;
}

.diagram-svg .box {
    fill: var(--white);
    stroke: var(--slate-900);
    stroke-width: 2;
}

.diagram-svg .text-main {
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 12px;
    fill: var(--slate-900);
}

.diagram-svg .text-sub {
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 11px;
    fill: var(--slate-700);
}

.diagram-svg .line {
    stroke: var(--slate-900);
    stroke-width: 2;
    fill: none;
}

/* Responsive */
@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .hero-inner {
        grid-template-columns: 7fr 5fr;
        padding: 5rem 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2-7-5 {
        grid-template-columns: 7fr 5fr;
    }
    
    .grid-2-6-6 {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    
    .cta-box {
        padding: 2.5rem;
    }
    
    .cta-grid {
        grid-template-columns: 8fr 4fr;
        align-items: center;
    }
    
    .cta-actions {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid var(--slate-900);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .hero-cta,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    .section-inner {
        padding: 1rem 0;
    }
}
