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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

a {
    color: #0645ad;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: #f8f8f8;
    border-bottom: 1px solid #ccc;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-right: 20px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

nav a {
    background: #e8e8e8;
    color: #333;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #ccc;
}

nav a:hover {
    background: #d0d0d0;
    text-decoration: none;
}

/* Ad slots */
.ad-slot {
    background: #f9f9f9;
    border: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 12px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slot-horizontal {
    width: 100%;
    height: 90px;
}

.ad-slot-sidebar {
    width: 100%;
    height: 250px;
}

/* Layout */
.page-layout {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: 15px auto;
    padding: 0 15px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Hero / Tool area */
.tool-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    background: #fdfdfd;
    margin-bottom: 15px;
}

.tool-box h1 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #222;
}

.tool-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #0645ad;
    color: #fff;
    padding: 9px 20px;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #0535a0;
    text-decoration: none;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    padding: 9px 20px;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #ccc;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: #e0e0e0;
    text-decoration: none;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 15px 0;
}

.feature-card {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 14px;
    background: #fafafa;
}

.feature-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #222;
}

.feature-card p {
    font-size: 13px;
    color: #666;
}

/* Content sections */
.content-section {
    margin: 20px 0;
}

.content-section h2 {
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
    margin-bottom: 12px;
    color: #222;
}

.content-section p {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #f8f8f8;
    border-top: 1px solid #ccc;
    padding: 14px 15px;
    margin-top: 30px;
    font-size: 13px;
    color: #666;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

footer a {
    color: #0645ad;
    margin-left: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    footer a {
        margin: 0 6px;
    }
}