body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 20px;
}

header {
    margin-bottom: 24px;
}

header h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

header p {
    margin: 0;
    color: #4b5563;
}

.seo-content {
    margin-bottom: 20px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.seo-content h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.seo-content p {
    margin: 0;
    line-height: 1.6;
    color: #4b5563;
}

.tool-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

button {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    background: #2563eb;
    color: #ffffff;
    transition: background 0.2s ease;
}

button:hover {
    background: #1d4ed8;
}

button:nth-child(2) {
    background: #10b981;
}

button:nth-child(2):hover {
    background: #059669;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.panel {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
}

.result-card {
    margin-top: 16px;
}

.result-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #f9fafb;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: #111827;
}

.status {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
}

.status.success {
    background: #ecfdf3;
    color: #047857;
}

.status.error {
    background: #fef2f2;
    color: #b91c1c;
}

.ad-banner {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ad-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer {
    margin-top: 24px;
    padding: 16px 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

.site-footer p {
    margin: 4px 0;
}
