/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Charte graphique La Louisette */
    --primary: #F39C12;        /* Orange La Louisette */
    --primary-dark: #E67E22;   /* Orange foncé */
    --secondary: #27AE60;      /* Vert La Louisette */
    --secondary-dark: #229954; /* Vert foncé */
    --success: #27AE60;
    --warning: #F39C12;
    --danger: #E74C3C;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

pre, table {
    max-width: 100%;
    overflow-x: auto;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    margin-top: 1.5rem;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }
}

/* Sections */
section {
    margin-bottom: 5rem;
}

section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(243, 156, 18, 0.15);
    border-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
}

.card-list li {
    color: var(--gray-600);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-item p {
    color: var(--gray-600);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

/* Architecture Diagram */
.architecture-preview {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.architecture-diagram {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.arch-level {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.arch-split {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.arch-box {
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.arch-box strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.arch-box small {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
}

.suppliers {
    background: #f59e0b;
    color: white;
}

.stock-principal {
    background: var(--primary);
    color: white;
}

.cuisine {
    background: var(--secondary);
    color: white;
}

.restaurants {
    background: var(--success);
    color: white;
}

.arch-arrow {
    font-size: 2rem;
    color: var(--gray-400);
    margin: 0.5rem 0;
}

.arch-arrow-split {
    display: flex;
    justify-content: space-around;
    font-size: 2rem;
    color: var(--gray-400);
    margin: 0.5rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.arch-arrow-return {
    font-size: 2rem;
    color: var(--gray-400);
    margin: 0.5rem 0;
    margin-left: -200px;
}

.arch-note {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.doc-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 700;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
}

.doc-card:hover .doc-badge {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.4);
}

.doc-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.doc-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-top: 3.5rem;
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.step a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.step a:hover {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.version {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    color: var(--gray-400);
}

/* Page Content */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.page-header-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.content-section {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.content-section:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: left;
}

.content-section h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Code Blocks */
pre {
    background: #f8f9fa;
    color: #2d3748;
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre strong {
    color: var(--primary);
    font-weight: 700;
}

pre em {
    color: var(--secondary);
    font-style: normal;
}

/* Inline code */
code {
    background: #f1f5f9;
    color: #c7254e;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
}

/* Code dans les alertes */
.alert code {
    background: rgba(255, 255, 255, 0.7);
    color: inherit;
    font-weight: 600;
    border: none;
}

pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
}

/* Copy button for code blocks */
.copy-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

pre:hover .copy-button {
    opacity: 1;
}

.copy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.copy-button:active {
    transform: translateY(0);
}

/* Process Example Cards */
.process-example {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    margin: 2rem 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.process-example-header {
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    padding: 1.5rem;
    border-bottom: 3px solid var(--primary);
}

.process-example-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.process-example-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
}

.process-example-body {
    padding: 0;
}

.process-step {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.process-step:last-child {
    border-bottom: none;
}

.process-step:hover {
    background: #fafbfc;
}

.process-step-time {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.process-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
}

.process-step-content {
    color: var(--gray-700);
    line-height: 1.7;
}

.process-step-content p {
    margin: 0.5rem 0;
}

.process-step-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.process-step-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.process-step-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.process-step-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.process-impact {
    background: #e8f8f0;
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.process-impact-title {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.process-document {
    background: #fff9e6;
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.process-document-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

thead {
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
}

th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    color: var(--gray-900);
    border-bottom: 2px solid var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--gray-700);
    line-height: 1.6;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #fffbf0;
}

tbody tr:nth-child(even) {
    background: #fafbfc;
}

tbody tr:nth-child(even):hover {
    background: #fff8e1;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-primary {
    background: var(--primary);
    color: white;
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

.badge-danger {
    background: var(--danger);
    color: white;
}

/* Alert Boxes */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    border-left: 5px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.alert-info {
    background: #fff9e6;
    border-color: var(--primary);
    color: #7c4a03;
}

.alert-info strong {
    color: var(--primary);
}

.alert-success {
    background: #e8f8f0;
    border-color: var(--success);
    color: #065f46;
}

.alert-success strong {
    color: var(--success);
}

.alert-warning {
    background: #fff4e6;
    border-color: var(--warning);
    color: #92400e;
}

.alert-warning strong {
    color: var(--warning);
}

.alert-danger {
    background: #ffe8e8;
    border-color: var(--danger);
    color: #991b1b;
}

.alert-danger strong {
    color: var(--danger);
}

/* Menu Mobile */
.mobile-menu-btn {
    display: none;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem;
    }
    
    .container {
        padding: 3rem 1.5rem;
    }
    
    .page-content {
        padding: 0 1.5rem 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
        z-index: 999;
        width: 100%;
    }
    
    .nav-links.show {
        display: flex !important;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--gray-200);
        border-bottom-color: transparent;
        width: 100%;
    }
    
    .nav-links a:hover {
        background: var(--gray-50);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .cards-grid,
    .features-grid,
    .stats-grid,
    .steps-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .arch-split {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arch-arrow-return {
        margin-left: 0;
    }
    
    .arch-arrow-split {
        flex-direction: column;
        gap: 0;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    pre {
        font-size: 0.8rem;
        padding: 1rem;
        overflow-x: auto;
        line-height: 1.6;
        border-radius: 0.5rem;
    }
    
    .copy-button {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        border-radius: 0.5rem;
    }
    
    th, td {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .alert {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .process-example-header {
        padding: 1rem;
    }
    
    .process-example-title {
        font-size: 1.1rem;
    }
    
    .process-example-date {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .process-step-time {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .process-step-title {
        font-size: 1rem;
    }
    
    .process-step-list li {
        font-size: 0.9rem;
        padding-left: 1rem;
    }
    
    .process-example {
        margin: 1.5rem 0;
    }
    
    .process-document table,
    .process-step-content table {
        font-size: 0.75rem;
    }
    
    .process-document table th,
    .process-document table td,
    .process-step-content table th,
    .process-step-content table td {
        padding: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .feature-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.25rem;
    }
    
    .doc-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .process-example-header {
        padding: 1rem;
    }
    
    .process-example-title {
        font-size: 1rem;
    }
    
    .process-example-date {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .process-step-time {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .process-step-title {
        font-size: 0.95rem;
    }
    
    .process-document table,
    .process-step-content table {
        font-size: 0.7rem;
    }
    
    .nav-brand {
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 0.85rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Mobile Block Overlay */
.mobile-block-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.mobile-block-content {
    background: white;
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-block-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mobile-block-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.mobile-block-message {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mobile-block-devices {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mobile-block-device {
    font-size: 2.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-block-device:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .mobile-block-overlay {
        display: flex !important;
    }
    
    body {
        overflow: hidden;
    }
}
