
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
body {
    background: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    margin-bottom: 2rem;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
    text-decoration: none;
}
.main-nav {
    display: flex;
    gap: 1.5rem;
}
.main-nav a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.main-nav a:hover { color: #0d6efd; }
.main-content { min-height: 70vh; }
.page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #212529;
}
.page-intro {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 800px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tool-card h3 {
    color: #0d6efd;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.tool-card p {
    color: #6c757d;
    font-size: 0.95rem;
}
.calculator-box {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.tab-btn.active {
    background: #0d6efd;
    color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
.calc-btn {
    width: 100%;
    padding: 0.85rem;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.calc-btn:hover { background: #0b5ed7; }
.result-box {
    background: #f1f3f5;
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 1.5rem;
    display: none;
}
.result-box.show { display: block; }
.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}
.result-item:last-child { border-bottom: none; }
.result-label { color: #6c757d; }
.result-value {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.1rem;
}
.content-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}
.content-section h2 {
    color: #212529;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.content-section p {
    color: #495057;
    margin-bottom: 1rem;
}
.content-section ul {
    margin-left: 1.5rem;
    color: #495057;
}
.site-footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: #6c757d;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: #6c757d;
    text-decoration: none;
}
.footer-links a:hover { color: #0d6efd; }
.copyright { font-size: 0.9rem; }
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    z-index: 9999;
    display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.cookie-banner a {
    color: #0d6efd;
    text-decoration: none;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}
.cookie-btn.accept {
    background: #0d6efd;
    color: #fff;
}
.cookie-btn.reject {
    background: #e9ecef;
    color: #495057;
}
.conv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .page-title { font-size: 1.5rem; }
    .calculator-box, .content-section { padding: 1.2rem; }
    .main-nav {
        width: 100%;
        justify-content: space-between;
    }
    .conv-grid { grid-template-columns: 1fr; }
}
