.tool-container {
    max-width: 720px;
    margin: 0 auto 30px auto;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    text-align: center;
}

.hero-card {
    padding-top: 20px;
    padding-bottom: 18px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: #718096;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
}

/* Primary Hero Copy Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #167ac6 0%, #137b75 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(22, 122, 198, 0.25);
    min-width: 260px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 122, 198, 0.35);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Toast alert / Notification */
.copy-status {
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.copy-status.visible {
    opacity: 1;
    max-height: 32px;
    margin-top: 12px;
}

/* Unicode Options Grid */
.unicode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.unicode-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unicode-card h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    color: #2d3748;
}

.unicode-card .code {
    font-family: monospace;
    font-size: 13px;
    color: #167ac6;
    background: #e9f2fa;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}

.unicode-card p {
    font-size: 13px;
    color: #718096;
    margin: 0 0 12px 0;
    text-align: left;
    line-height: 1.4;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-secondary:hover {
    background: #167ac6;
    border-color: #167ac6;
    color: #ffffff;
}

/* Bulk Generator */
.bulk-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.bulk-input {
    width: 90px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-align: center;
}

/* Testing Sandbox */
.sandbox-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.sandbox-textarea:focus {
    outline: none;
    border-color: #167ac6;
    box-shadow: 0 0 0 3px rgba(22, 122, 198, 0.15);
}

.sandbox-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.sandbox-info {
    font-size: 14px;
    color: #475569;
    text-align: left;
}

.sandbox-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
}

.badge-detected {
    background: #dcfce7;
    color: #15803d;
}

.badge-none {
    background: #f1f5f9;
    color: #64748b;
}

.btn-clear {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.btn-clear:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* SEO Content Styles */
.seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.seo-table th,
.seo-table td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

.seo-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #1e293b;
}

.seo-table tr:nth-child(even) {
    background: #fbfcfe;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.platform-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.platform-card h3 {
    margin-top: 0;
    font-size: 17px;
    color: #167ac6;
}

.platform-card ol,
.platform-card ul {
    padding-left: 20px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.faq-item h3 {
    font-size: 17px;
    color: #1e293b;
    margin-bottom: 6px;
}

.faq-item p {
    margin-top: 0;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .btn-primary {
        width: 100%;
        font-size: 16px;
        padding: 14px 20px;
    }

    .sandbox-controls {
        flex-direction: column;
        align-items: stretch;
    }
}