* { box-sizing: border-box; }
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; scroll-behavior: smooth; font-size: 1.1rem; color: #333333; }

:root {
    --primary: #286043;
    --accent: #C88E4B;
    --accent-hover: #b8975a;
}    

.navbar { 
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; 
    background: rgba(2, 119, 189, 0.95); 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 0.75rem 1rem; 
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.btn-gold { 
    background-color: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 1.1rem;
    padding: 0.8rem 1.5rem; border-radius: 50px; text-decoration: none; 
    display: inline-block; text-align: center; transition: background-color 0.3s;
}
.btn-gold:hover { background-color: var(--accent-hover); }

.btn-outline {
    background-color: transparent;
    color: white;
    font-weight: 700; font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: 2px solid #FFFFFF;
    transition: background-color 0.3s;
}
.btn-outline:hover { background-color: rgba(255,255,255,0.2); }

.lang-selector a { 
    color: white; text-decoration: none; font-size: 0.95rem; 
    padding: 0.4rem 0.7rem; border-radius: 50px; 
    background: rgba(255,255,255,0.15); margin: 0 0.2rem; display: inline-block; 
}
.lang-selector a:hover { background: rgba(255,255,255,0.3); }
.lang-selector a.active { background: rgba(255,255,255,0.35); font-weight: 700; }

.section { padding: 3rem 1.5rem; max-width: 100%; overflow: hidden; }
.bg-white { background-color: #ffffff; }
.internal-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.internal-link:hover { color: var(--accent-hover); }

.guide-step {
    background: #f8f6f2;
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}
.guide-step h3 { font-weight: 700; color: #0a1a2a; margin-bottom: 0.5rem; }
.guide-step p { color: #4b5563; line-height: 1.6; }

.cost-card {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.cost-card .percentage { font-size: 2rem; font-weight: 800; color: var(--accent); }
.cost-card h4 { font-weight: 600; margin-top: 0.5rem; }
.cost-card p { color: #6b7280; font-size: 0.9rem; }

.line-modal {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8); z-index: 3000;
    justify-content: center; align-items: center;
}
.line-modal.active { display: flex; }
.line-modal-content {
    background: white; padding: 2rem; border-radius: 20px;
    text-align: center; max-width: 400px; width: 90%;
}
.line-modal-content img { width: 250px; height: 250px; margin: 0 auto; display: block; border-radius: 10px; }
.line-modal-close {
    background: var(--accent); color: #FFFFFF; border: none;
    padding: 0.8rem 1.5rem; border-radius: 50px;
    font-weight: 700; cursor: pointer; margin-top: 1rem; font-size: 1rem;
}

.tip-box {
    background: #f0f7ff;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.tip-box i { color: var(--accent); font-size: 1.5rem; margin-right: 0.5rem; }

@media (max-width: 768px) {
    .navbar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.5rem !important;
        text-align: center !important;
    }
    .lang-selector {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.3rem !important;
        width: 100% !important;
    }
    .lang-selector a {
        margin: 0.2rem !important;
        font-size: 0.85rem !important;
    }
    .guide-hero { padding-top: 8rem !important; }
    .hero-title { font-size: 2rem !important; }
    .step-grid { grid-template-columns: 1fr !important; }
    .cost-grid { grid-template-columns: 1fr !important; }
}
